Re: more contrib: log rotator
Andrew Sullivan <andrew@libertyrms.info>
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-hackers@postgresql.org
Date: 2003-04-03T21:12:14Z
Lists: pgsql-hackers
On Thu, Apr 03, 2003 at 01:41:08PM -0500, Tom Lane wrote:
> You would not actually have to: you could just pipe pg_ctl's output to
> pglog-rotator. But I think it'd be cool if pg_ctl had an option to use
> pglog-rotator, or maybe even adopt it as standard behavior.
It's currently built to call a program, and read its stdout and
stderr, rather than acting as a pipe. I guess it shouldn't be too
hard to modify, though. We actually call the postmaster directly
with it, so we use it as a replacement for pg_ctl at startup.
> Andrew, could you toss up the script on pgsql-patches just so people can
> take a look? Then we could think more about where to go with it.
Ok, I sent it.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110