Re: expanding on syslog help - Mailing list pgsql-hackers

From Tom Lane
Subject Re: expanding on syslog help
Date
Msg-id 16834.1064903129@sss.pgh.pa.us
Whole thread Raw
In response to expanding on syslog help  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Would there be objections to me expanding on the syslog 
> sections in the docs?

No, but ...

> # Log all 'postgres' events to /var/log/pgsql
> !postgres
> *.*                                             /var/log/pgsql
> # Nothing after this line applies to 'postgres'
> !-postgres
> "

This example seems not portable in the least; AFAICT neither syntax that
you show is accepted by HPUX's syslogd, for example.

> * Mention that you might want to turn log_pid and log_timestamp off 
> since syslog logs them anyway

Check.

> * Mention something about system log rotator?  Or is that too 
> platform-specific?

I think it's reasonable to suggest that syslogd might not solve the
problem all by itself.  Dunno if we can give better advice than "read
your local syslogd man page".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Next
From: Gaetano Mendola
Date:
Subject: Re: expanding on syslog help