| From: | "Ed L(dot)" <pgsql(at)bluepolka(dot)net> |
|---|---|
| To: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | Andrew Sullivan <andrew(at)libertyrms(dot)info>, <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: more contrib: log rotator |
| Date: | 2003-04-04 17:06:42 |
| Message-ID: | 200304041006.42940.pgsql@bluepolka.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | scott.marlowe | 2003-04-04 17:10:22 | Re: more contrib: log rotator |
| Previous Message | Ed L. | 2003-04-04 17:04:25 | Re: more contrib: log rotator |