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

Re: way to turn off epochs in log_filename

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Lowry <dlowry(at)bju(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: way to turn off epochs in log_filename
Date: 2007-10-26 21:33:15
Message-ID: 26960.1193434395@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
David Lowry <dlowry(at)bju(dot)edu> writes:
> The docs state that if there are no %-escapes in log_filename, then  
> it will add the epoch onto the end of the log filename. Is there any  
> way to turn off this behavior and just use the filename specified in  
> log_filename? I'd like have all the log data written to a file like  
> postgresql.log and let logrotate do the rotation.

If logrotate would work, we'd never have bothered writing our own
substitute.  But there's no way for logrotate to repoint postmaster's
stderr into other files.

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Joshua D. DrakeDate: 2007-10-26 21:40:05
Subject: Re: way to turn off epochs in log_filename
Previous:From: Peter KoczanDate: 2007-10-26 20:25:26
Subject: Re: way to turn off epochs in log_filename

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