Skip site navigation (1) Skip section navigation (2)

Re: log_filename_prefix --> log_filename + strftime()

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <JanWieck(at)Yahoo(dot)com>, "Ed L(dot)" <pgsql(at)bluepolka(dot)net>,Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-29 21:53:54
Message-ID: 41325072.8010704@pse-consulting.de (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-patches by date

Next:From: Ed L.Date: 2004-08-30 02:02:27
Subject: Re: log_filename_prefix --> log_filename + strftime()
Previous:From: Gavin SherryDate: 2004-08-29 19:56:25
Subject: Re: dbsize contrib

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group