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: (view raw, whole thread or download thread mbox)
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)


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-2017 The PostgreSQL Global Development Group