Re: more contrib: log rotator

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: more contrib: log rotator
Date: 2003-04-03 21:12:14
Message-ID: 20030403211214.GO19119@libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Sullivan 2003-04-03 21:14:19 Re: more contrib: log rotator
Previous Message Bruno Wolff III 2003-04-03 21:01:47 Re: [PERFORM] [HACKERS] OSS database needed for testing