Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Ed L.
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 200408292002.27440.pgsql@bluepolka.net
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Saturday August 28 2004 9:30, Bruce Momjian wrote:
> Are we going to change this before beta2?  I have not seen a final
> patch yet.

Attached is a revised patch:

    + changes postgresql.conf option 'log_filename_prefix' to 'log_filename',
and adds strftime() escape interpolation;
    + set default log_filename to 'postgresql-%Y-%m-%d_%H%M%S.log';
    + added postgresql.conf boolean option 'log_truncate_on_rotation', default
false;
    + log truncation is performed only on time-driven rotations and only when
log_truncate_on_rotation is true;

I did not add UTC offset logic nor logic to shift to top of the hour/day for
rotation periods of 60/1440 minutes, but would like to add that shortly if
time permits.

Ed

Вложения

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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: dbsize contrib
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Autovbacuum Win32 service patch