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

log_filename_prefix --> log_filename + strftime()

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-27 17:50:16
Message-ID: 200408271150.16080.pgsql@bluepolka.net (view raw or flat)
Thread:
Lists: pgsql-patches
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.


Attachment: patches.diff
Description: text/x-diff (6.8 KB)

Responses

pgsql-patches by date

Next:From: Ed L.Date: 2004-08-27 18:03:33
Subject: Re: log_filename_prefix --> log_filename + strftime()
Previous:From: Jason TishlerDate: 2004-08-27 12:00:36
Subject: Re: postgresql-7.4.5-1 ready for review

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