Re: log_filename_prefix --> log_filename + strftime()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-29 03:30:04
Message-ID: 200408290330.i7T3U4R10606@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-29 03:32:06 Re: Show full path name when saving in psql
Previous Message Bruce Momjian 2004-08-29 03:16:35 Re: Win32 bug fix