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

From Ed L.
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 200408271253.36146.pgsql@bluepolka.net
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Friday August 27 2004 12:51, Ed L. wrote:
> On Friday August 27 2004 12:41, Tom Lane wrote:
> > BTW, as long as we are taking Apache as the de facto standard --- does
> > the default of "postgresql-%Y-%m-%d_%H%M%S.log" actually make sense, or
> > would something different be closer to the common practice with Apache?
>
> Apache defaults to access_log.N where N is the epoch of the logfile start
> time.

I should say, Apache rotatelogs takes a configurable filename and then
appends ".N" where N is the logfile start time epoch.  In one case, its
access_log.N, in another its error_log.N.

Ed


pgsql-patches by date:

Previous
From: "Ed L."
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Andrew Dunstan
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()