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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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