Re: more contrib: log rotator - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: more contrib: log rotator
Date
Msg-id Pine.LNX.4.44.0304050200300.1945-200000@peter.localdomain
Whole thread Raw
In response to Re: more contrib: log rotator  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: more contrib: log rotator  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: more contrib: log rotator  (Christopher Browne <cbbrowne@cbbrowne.com>)
List pgsql-hackers
Tom Lane writes:

> AFAICS, the only practical way to do this is to have a single process
> collecting the stdout/stderr from the postmaster and all its children.

I think not.  It's a little tricky handling it directly in the child
processes, but it's been done before.

> If someone can offer a better alternative than Andrew's, great, let's
> see it.

How about the attached one, which I floated a while ago but which didn't
generate much interest.

-- 
Peter Eisentraut   peter_e@gmx.net

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command   (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Stuff that doesn't work yet in IPv6 patch
Next
From: Tom Lane
Date:
Subject: Re: more contrib: log rotator