Re: --enable-syslog and Solaris 7

From: Andrew Sullivan <andrew(at)libertyrms(dot)com>
To: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: --enable-syslog and Solaris 7
Date: 2001-09-06 14:44:55
Message-ID: 20010906104454.H12428@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 30, 2001 at 06:19:53PM -0300, Mart?n Marqu?s wrote:
> /etc/syslog.conf:
>
> local0.debug /var/log/postgresql
>
> It worked for me!

Thanks to everyone who replied. For the archives:

The tip above, and the eyes of a Solaris-guru co-worker, conspired to
find the problem for me. It turns out that Solaris allows "*" for
the _facility_, but not for the _priority_. On other words,
"local0.*" won't work, but "local0.debug" will. Moreover, the
lowest-priority messages that you want need to be the last specified;
it appears that this is cumulative, so you get everything of priority
debug or higher with the above entry.

A

--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)com> M6K 3E3
+1 416 646 3304 x110

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-09-06 14:51:57 Re: createdb buggy?
Previous Message Steve Wampler 2001-09-06 14:28:38 Re: createdb buggy?