Re: log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 41325072.8010704@pse-consulting.de
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Gavin Sherry
Date:
Subject: Re: dbsize contrib