Re: more contrib: log rotator - Mailing list pgsql-hackers

From Ed L.
Subject Re: more contrib: log rotator
Date
Msg-id 200304041006.42940.pgsql@bluepolka.net
Whole thread Raw
In response to Re: more contrib: log rotator  ("Ed L." <pgsql@bluepolka.net>)
List pgsql-hackers
On Friday April 4 2003 10:04, Ed L. wrote:
> By way of feature ideas, one very convenient but not widely used feature
> of Apache's log rotator is the ability to specify a strftime() format
> string for the file extension.  For example, if I want to have my logs
> rollover every 24 hours and be named log.Mon, log.Tue, log.Wed, I say
> something like
>
>     pg_ctl start | rotatelogs 86400 "%a"

More accurately, something like this:
pg_ctl start | rotatelogs 86400 "log.%a"

Ed



pgsql-hackers by date:

Previous
From: "Ed L."
Date:
Subject: Re: more contrib: log rotator
Next
From: Jan Wieck
Date:
Subject: Re: more contrib: log rotator