Re: Limiting the size of log files

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Limiting the size of log files
Дата
Msg-id AANLkTi=E_78njRncqCy3rKmO-7DLnxx8_Xgwsfh8KvUM@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Limiting the size of log files  (Amit Soni <get.amitsoni@gmail.com>)
Ответы Re: Limiting the size of log files  (Amit Soni <get.amitsoni@gmail.com>)
Список pgsql-novice
On 18 August 2010 10:32, Amit Soni <get.amitsoni@gmail.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

В списке pgsql-novice по дате отправления:

Предыдущее
От: Amit Soni
Дата:
Сообщение: Re: Limiting the size of log files
Следующее
От: Amit Soni
Дата:
Сообщение: Re: Limiting the size of log files