Re: Limiting the size of log files

From: Thom Brown <thom(at)linux(dot)com>
To: Amit Soni <get(dot)amitsoni(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Limiting the size of log files
Date: 2010-08-18 09:37:34
Message-ID: AANLkTi=E_78njRncqCy3rKmO-7DLnxx8_Xgwsfh8KvUM@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 18 August 2010 10:32, Amit Soni <get(dot)amitsoni(at)gmail(dot)com> wrote:
> Sorry for not copying the group in my previous response. The name of the
> largest and the only log file is "postgresql.log" and its size is 32900151B
> (32M) with the current settings.
>

I believe it might be because you haven't set up a pattern for the
filename, you've just specified a plain name.

So change log_filename from "postgresql.log" to "postgresql-%Y-%m-%d_%H%M%S.log"

--
Thom Brown
Registered Linux user: #516935

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Amit Soni 2010-08-18 09:54:29 Re: Limiting the size of log files
Previous Message Amit Soni 2010-08-18 09:32:30 Re: Limiting the size of log files