X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1CF83D1B4B3 for ; Sat, 29 Nov 2003 13:33:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 06562-10 for ; Sat, 29 Nov 2003 09:32:56 -0400 (AST) Received: from web21404.mail.yahoo.com (web21404.mail.yahoo.com [216.136.232.74]) by svr1.postgresql.org (Postfix) with SMTP id E3B9ED1B47C for ; Sat, 29 Nov 2003 09:32:52 -0400 (AST) Message-ID: <20031129133256.17288.qmail@web21404.mail.yahoo.com> Received: from [64.81.205.234] by web21404.mail.yahoo.com via HTTP; Sat, 29 Nov 2003 05:32:56 PST Date: Sat, 29 Nov 2003 05:32:56 -0800 (PST) From: ow Subject: Re: Why both?: /var/log/messages AND /var/log/pgsql. To: pgsql-admin@postgresql.org In-Reply-To: <20031129104843.61030.qmail@web21408.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/508 X-Sequence-Number: 11495 --- ow 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/