Subject: Re: Getting to grips with syslog and localn.*
To: Pavel Cahyna <pavel@netbsd.org>
From: Amadeus Stevenson <amadeus.stevenson@gmail.com>
List: netbsd-help
Date: 04/29/2006 21:04:37
On 4/29/06, Pavel Cahyna <pavel@netbsd.org> wrote:
> On Sat, Apr 29, 2006 at 08:14:09PM +0100, Amadeus Stevenson wrote:
> >
> > I have successfully filtered the required hostname and daemon bits,
> > but I'm still getting a duplicate of the entries in /var/log/messages
> > as well as in the separate log files I specified.
> >
> > I suspect I've left something in the old syslog.conf file which is
> > saying this, although I can't see it, perhaps the *.info bit?
>
> I would suggest to run syslogd with -vv to see what is the priority and
> facility.

Thanks for the tip; the items came up under user.notice and user.info.

The -hostname and !-daemon lines before the rest of the syslog rules
works a treat.

Amadeus