Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 13:29:56 +0100
From:      John Murphy <jfm@blueyonder.co.uk>
To:        questions@FreeBSD.ORG
Subject:   Re: syslog logging question
Message-ID:  <8blfavg8puflk0bu7osgrnr8u831kbl92m@4ax.com>
In-Reply-To: <20030424071545.GA45006@marvin.penguinpowered.org.uk>
References:  <20030424071545.GA45006@marvin.penguinpowered.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne Pascoe <freebsd@penguinpowered.org.uk> wrote:

>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 ?=20

I don't have an entry in syslog.conf for ipmon but I have:
ipmon_flags=3D"-D /var/log/ipf.log"  # typically "-Ds" or "-D =
/var/log/ipflog"
in /etc/rc.conf

This way I don't see ipf log entries in /var/log/messages.

John.



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