Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 11:45:32 +0300
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Wayne Pascoe <freebsd@penguinpowered.org.uk>, questions@freebsd.org
Subject:   Re: syslog logging question
Message-ID:  <200304240845.h3O8js917891@lv.raad.tartu.ee>
In-Reply-To: <20030424071545.GA45006@marvin.penguinpowered.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> I have ipfilter on some of my boxes. In /etc/syslog.conf, I have the
> following lines:
> 
> !ipmon
> *.*                                             /var/log/ipf.log
> 
> This works, and I get all entries in /var/log/ipf.log, which is good.
> The problem I have is that I also get all entries in /var/log/messages
> 
> What do I need to do to stop syslog logging these messages to both
> locations and start logging only to /var/log/ipf.log ? 

Add 'local0.none' to the list of facilities logged to /var/log/messages.
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* Save the whales! Collect the whole set!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304240845.h3O8js917891>