Re: Why both?: /var/log/messages AND /var/log/pgsql.

From: ow <oneway_111(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Why both?: /var/log/messages AND /var/log/pgsql.
Date: 2003-11-29 13:32:56
Message-ID: 20031129133256.17288.qmail@web21404.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


--- ow <oneway_111(at)yahoo(dot)com> wrote:
> pgSql 7.4.0 on RH7.3
>
> Hi,
>
> It appears that pgSql somehow logs messages to BOTH /var/log/messages and
> /var/log/pgsql. I expected that it would only log to /var/log/pgsql.
>

It appears I forgot to add local0.none on the /var/log/messages line in
/etc/syslog.conf. Once added it logs only to /var/log/pgsql.

Strange though ... when I changed "local0" to "pgsql" in /etc/syslog.conf and
/var/lib/pgsql/data/postgresql.conf the logging stopped completely. Works with
local0 though. Anyhow

Thanks

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Oliver Elphick 2003-11-29 17:42:09 Re: Installing pgtclsh
Previous Message Kent L. Nasveschuk 2003-11-29 12:32:32 Re: pg_lo_import alternative ...