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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: way to turn off epochs in log_filename



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group