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

From Bruce Momjian
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 200408290330.i7T3U4R10606@candle.pha.pa.us
Whole thread Raw
In response to log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: log_filename_prefix --> log_filename + strftime()
Re: log_filename_prefix --> log_filename + strftime()
List pgsql-patches
Are we going to change this before beta2?  I have not seen a final
patch yet.

---------------------------------------------------------------------------

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.
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Win32 bug fix
Next
From: Bruce Momjian
Date:
Subject: Re: Show full path name when saving in psql