Re: [ADMIN] way to turn off epochs in log_filename

2007-10-29 Thread David Lowry
On Oct 27, 2007, at 11:30 AM, Tom Lane wrote: 1. Logrotate moves the old log file to a new name, equivalent to something like this: mv postgresql.log postgresql.log.1 In the mean time, PG keeps writing to the same file. 2. Logrotate sends a HUP (as configured in the logrotate conf) to the postma

Re: [ADMIN] way to turn off epochs in log_filename

2007-10-27 Thread David Lowry
On Oct 26, 2007, at 6:42 PM, Joshua D. Drake wrote: 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. Uh... can't we just use copytruncate with logroate? How's that going to reset t

[ADMIN] way to turn off epochs in log_filename

2007-10-26 Thread David Lowry
like postgresql.log and let logrotate do the rotation. Thanks for any help! -- David Lowry Systems Administrator Bob Jones University [EMAIL PROTECTED] (864)370-1800 ext. 4149