From: | Thomas Beutin <tyrone(at)laokoon(dot)IN-Berlin(dot)DE> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: rotatelog / logrotate with PostgreSQL |
Date: | 2002-09-24 19:01:09 |
Message-ID: | 20020924210109.A5081@laokoon.bug.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Sep 24, 2002 at 02:09:01PM -0400, Tom Lane wrote:
> Roland Roberts <roland(at)astrofoto(dot)org> writes:
> > Tom> Should work to just pipe the postmaster's stderr into it, eg
> > Tom> postmaster ... 2>&1 | logrotate ... &
>
> > Huh? logrotate moves a log file, it doesn't log anything.
>
> My mistake; I was assuming that that script did something else.
> What PG is able to work with is a script that absorbs input on
> stdin and sends it to a rotatable logfile. Surely there are some
> of those out there.
Are You looking for cronolog (http://www.cronolog.org/)? It sucks the output
of a daemon and manages the logfiles.
Greetings,
-tb
--
Thomas Beutin tb(at)laokoon(dot)IN-Berlin(dot)DE
Beam me up, Scotty. There is no intelligent live down in Redmond.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2002-09-24 20:14:12 | Re: Postmaster Uptime |
Previous Message | Tom Lane | 2002-09-24 18:48:32 | Re: subselect bug (was Re: [GENERAL] DBLink: interesting issue) |