log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Ed L.
Subject log_filename_prefix --> log_filename + strftime()
Date
Msg-id 200408271150.16080.pgsql@bluepolka.net
Whole thread Raw
Responses Re: log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: log_filename_prefix --> log_filename + strftime()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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

pgsql-patches by date:

Previous
From: pgsql@mohawksoft.com
Date:
Subject: Contrib Shared varaibles
Next
From: "Ed L."
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()