Re: log_filename_prefix --> log_filename + strftime()

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-27 18:53:36
Message-ID: 200408271253.36146.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-27 19:02:24 Re: log_filename_prefix --> log_filename + strftime()
Previous Message Andrew Dunstan 2004-08-27 18:53:32 Re: log_filename_prefix --> log_filename + strftime()