pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Lowry <dlowry@bju.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: way to turn off epochs in log_filename
Date: Fri, 26 Oct 2007 17:33:15 -0400
Message-ID: <26960.1193434395@sss.pgh.pa.us> (raw)
In-Reply-To: <E11307EB-94DF-4CDD-A89D-0C88A84F2B99@bju.edu>
References: <E11307EB-94DF-4CDD-A89D-0C88A84F2B99@bju.edu>

David Lowry <dlowry@bju.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



view thread (9+ messages)  latest in thread

Message-ID: <26960.1193434395@sss.pgh.pa.us>
Permalink:  ../26960.1193434395@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26960.1193434395@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dlowry@bju.edu
  Subject: Re: way to turn off epochs in log_filename
  In-Reply-To: <26960.1193434395@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox