Re: Syslog

From: GB Clark II <gclarkii(at)vsservices(dot)com>
To: Chris Lee <chrislee(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Syslog
Date: 2001-12-04 08:53:21
Message-ID: 01120402532102.63922@prime.vsservices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)VSServices(dot)COM | General Geek
CTHULU for President - Why choose the lesser of two evils?

In response to

  • Syslog at 2001-12-01 02:36:15 from Chris Lee

Browse pgsql-general by date

  From Date Subject
Next Message GB Clark II 2001-12-04 08:54:18 Fwd: Re: Syslog
Previous Message bombadil 2001-12-04 08:15:57 Re: Problem (bug?) with like