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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
patches.diff text/x-diff 6.8 KB

Responses

Browse pgsql-patches by date

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