Fwd: Re: Syslog - Mailing list pgsql-general

From GB Clark II
Subject Fwd: Re: Syslog
Date
Msg-id 01120402541803.63922@prime.vsservices.com
Whole thread Raw
List pgsql-general
On Friday 30 November 2001 20:36, Chris Lee wrote:
> Hi,
>
> I compile postgresql 7.13 under RedHat 7.2 w/syslog support and using
> the following config:
>
> /usr/local/pgsql/data/postgresql.conf
>
> syslog = 1 # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
>
>
> /etc/syslog.conf
>
> local0.*      /var/log/postgresql
>
> Question:
> I found that some message was stored on /var/log/messages instead of
> /var/log/postgresl? What's wrong?
>
> Regards,
> Chris Lee

Hi,

Are you sure they were not in BOTH places?  Most systems will send certain
levels of messages to multiple places at the same time.  In other words if
PostgreSQL sends a WARNING message and your syslog is setup to send WARNINGs
to the console, then they will get sent to both your log file and the
 console.

Hope it helps.

GB


--
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek
           CTHULU for President - Why choose the lesser of two evils?

-------------------------------------------------------

--
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek
           CTHULU for President - Why choose the lesser of two evils?

pgsql-general by date:

Previous
From: bombadil@wanadoo.es
Date:
Subject: Re: Problem (bug?) with like
Next
From: Luben Karavelov
Date:
Subject: Large tables management question