Re: quick (and probably dumb) question - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: quick (and probably dumb) question
Date
Msg-id 20000524101959Y.t-ishii@sra.co.jp
Whole thread Raw
In response to quick (and probably dumb) question  (ernie cline <ernie.cline@ipgdirect.com>)
List pgsql-general
> Hello all,
> I just finished my very first postgresql installation (Version 7).  I
> already like it much better than oracle 8, which took me the better part
> of a day to install.  Anyway, I have a red-hat based VA Linux box, so I
> followed the red-hat startup instructions, putting a file in
> /etc/rc.d/init.d and a link in /etc/rc.d/rc5.d ... and I reconfigured
> syslog so that local5.* goes to /var/log/postgres.  Everything works
> fine, except that postmaster messages go to /var/log/messages as well
> ... whats up with that?  What do I have to change so that messages
> doesn't get the database errors ... any help would be appreciated!
> Thanks in advance.
>
> -ernie

Do you have something like this in syslog.conf?

*.info;mail.none;authpriv.none                /var/log/messages

Since PostgreSQL uses LOG_LOCAL0 log facility, changing to:

*.info;mail.none;authpriv.none;local0.none        /var/log/messages

will do the trick. Hope this helps,
--
Tatstuo Ishii

pgsql-general by date:

Previous
From: Philip Hallstrom
Date:
Subject: TO_DATE and single digit months driving me nuts...
Next
From: Lincoln Yeoh
Date:
Subject: Re: initdb and "exit_nicely"...