pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Why both?: /var/log/messages AND /var/log/pgsql.
Date: Sat, 29 Nov 2003 05:32:56 -0800 (PST)
Message-ID: <20031129133256.17288.qmail@web21404.mail.yahoo.com> (raw)
In-Reply-To: <20031129104843.61030.qmail@web21408.mail.yahoo.com>


--- ow <oneway_111@yahoo.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/



view thread (3+ messages)  latest in thread

Message-ID: <20031129133256.17288.qmail@web21404.mail.yahoo.com>
Permalink:  ../20031129133256.17288.qmail@web21404.mail.yahoo.com/
Also on:    postgresql.org/message-id/20031129133256.17288.qmail@web21404.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oneway_111@yahoo.com
  Subject: Re: Why both?: /var/log/messages AND /var/log/pgsql.
  In-Reply-To: <20031129133256.17288.qmail@web21404.mail.yahoo.com>
  References: <20031129104843.61030.qmail@web21408.mail.yahoo.com> <20031129133256.17288.qmail@web21404.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox