Re: Syslog and pg_options (for RPMs) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Syslog and pg_options (for RPMs)
Date
Msg-id Pine.LNX.4.30.0102091833490.1286-100000@peter.localdomain
Whole thread Raw
In response to Re: Syslog and pg_options (for RPMs)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > There are still many loggings using just plain fprintf(). They should
> > be replaced by elog(DEBUG) or elog(NOTICE), IMHO.
>
> I don't disagree with doing that where it's convenient and safe (which
> is not everywhere).  I'm just pointing out that we need a solution that
> covers stderr output as well.

Couldn't we redirect stderr to do what we want?  dup(), pipe(), fifo, who
knows.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Open 7.1 items
Next
From: Peter Eisentraut
Date:
Subject: Re: [DOCS] Open 7.1 items