Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 41325072.8010704@pse-consulting.de
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:

>>> at logger startup or size-based
>>>rotation, the rule would be to append.
>
>
>>which then has a problem when you startup the postmaster after 10 hours
>>of downtime ... hmmm.
>
>
> Doesn't seem like a big problem --- at worst that logfile will get to be
> double the size it normally would.

... continuing log entries with a time gap...

> Note that this scheme effectively disables size-based rotation anyway,
> unless you use one of the hacks we talked about like using a %H:%M
> pattern when you intend hourly rotation.

Please no colons in filenames (win32!)

Regards,
Andreas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: dbsize contrib