From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | 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 16:16:39 |
Message-ID: | Pine.LNX.4.33.0304040914080.21974-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 4 Apr 2003, Peter Eisentraut wrote:
> Andrew Sullivan writes:
>
> > Is anyone interested in having pglog-rotator?
>
> What would get me a whole lot more excited is if the server could write
> directly to a file and do its own rotating (or at least reopening of
> files).
>
> Considering that your rotator is tailored to a rather specific setup, it
> doesn't do anything better compared to established ones, it prevents the
> use of pg_ctl, it's written in Perl, and it doesn't do anything for
> Windows users, I think it's not suitable for a general audience.
That said, a log rotation capability built right into pg_ctl or
thereabouts would be a very nice feature. I.e. 'pg_ctl -r 86400 -l
$PGDATA/logs/pgsql start'
where -r is the rotation period in seconds. If it's an external program
that pg_ctl calls that's fine, and it could even just be a carbon copy of
apache's log rotater if their license is compatible (isn't it?)
From | Date | Subject | |
---|---|---|---|
Next Message | Ed L. | 2003-04-04 16:24:20 | Re: dbmirror revisions |
Previous Message | Josh Berkus | 2003-04-04 16:09:22 | Re: [PERFORM] OSS database needed for testing |