Re: quick (and probably dumb) question

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: ernie(dot)cline(at)ipgdirect(dot)com
Cc: pgsql-general(at)hub(dot)org
Subject: Re: quick (and probably dumb) question
Date: 2000-05-24 01:19:59
Message-ID: 20000524101959Y.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2000-05-24 01:39:40 Re: initdb and "exit_nicely"...
Previous Message Philip Hallstrom 2000-05-24 00:35:28 TO_DATE and single digit months driving me nuts...