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

Re: log_filename_prefix --> log_filename + strftime()

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-27 18:03:33
Message-ID: 200408271203.33159.pgsql@bluepolka.net (view raw or flat)
Thread:
Lists: pgsql-patches
The patch is intended for 8.0.0 or later, and was generated and tested with 
the cvs trunk as of 26-Aug-2004.

On Friday August 27 2004 11:50, Ed L. wrote:
> Attached is a patch which replaces the 'log_filename_prefix'
> configuration directive with a similar 'log_filename' directive.  It
> differs from the former in the following ways:
>
> 	+ allows embedded strftime() escapes ala Apache's rotatelogs;
> 	+ eliminates hard-coded embedding of the postmaster pid;
> 	+ makes the current hard-coded timestamp configurable;
> 	+ changes the default log filename to exclude the PID;
>
> This patch enables us to continue using our existing log-handling
> utilities and filenaming conventions which we now use with Apache's
> rotatelogs.


In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2004-08-27 18:08:19
Subject: Re: log_filename_prefix --> log_filename + strftime()
Previous:From: Ed L.Date: 2004-08-27 17:50:16
Subject: log_filename_prefix --> log_filename + strftime()

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