Re: syslog by default? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: syslog by default?
Date
Msg-id 13397.1000505105@sss.pgh.pa.us
Whole thread Raw
In response to Re: syslog by default?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: syslog by default?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: syslog by default?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, that makes sense.  My only question is how many platforms _don't_
> have syslog.  If it is only NT and QNX, I think we can live with using
> it by default if it exists.

There seems to be a certain amount of confusion here.  The proposal at
hand was to make configure set up to *compile* the syslog support
whenever possible.  Not to *use* syslog by default.  Unless we change
the default postgresql.conf --- which I would be against --- we will
still log to stderr by default.

Given that, I'm not sure that Peter's argument about losing
functionality is right; the analogy to readline support isn't exact.
Perhaps what we should do is (a) always build syslog support if
possible, and (b) at runtime, complain if syslog logging is requested
but we don't have it available.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Martín Marqués
Date:
Subject: chunk size problem
Next
From: Rene Pijlman
Date:
Subject: Re: querying system catalogs to extract foreign keys