Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


Do you Yahoo!?
Free Pop-Up Blocker - Get it now

In response to


pgsql-admin by date

Next:From: Oliver ElphickDate: 2003-11-29 17:42:09
Subject: Re: Installing pgtclsh
Previous:From: Kent L. NasveschukDate: 2003-11-29 12:32:32
Subject: Re: pg_lo_import alternative ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group