Re: --enable-syslog and Solaris 7 - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: --enable-syslog and Solaris 7
Date
Msg-id 20010906104454.H12428@mail.libertyrms.com
Whole thread Raw
In response to Re: --enable-syslog and Solaris 7  (Martín Marqués <martin@bugs.unl.edu.ar>)
List 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@libertyrms.com>                               M6K 3E3
                                         +1 416 646 3304 x110


pgsql-general by date:

Previous
From: Steve Wampler
Date:
Subject: Re: createdb buggy?
Next
From: Peter Eisentraut
Date:
Subject: Re: createdb buggy?