From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 05:29:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEFFF37B401 for ; Thu, 24 Apr 2003 05:29:58 -0700 (PDT) Received: from blueyonder.co.uk (pcow057o.blueyonder.co.uk [195.188.53.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F35743F93 for ; Thu, 24 Apr 2003 05:29:57 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx ([62.31.198.203]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 24 Apr 2003 13:29:56 +0100 From: John Murphy To: questions@FreeBSD.ORG Date: Thu, 24 Apr 2003 13:29:56 +0100 Message-ID: <8blfavg8puflk0bu7osgrnr8u831kbl92m@4ax.com> References: <20030424071545.GA45006@marvin.penguinpowered.org.uk> In-Reply-To: <20030424071545.GA45006@marvin.penguinpowered.org.uk> X-Mailer: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: syslog logging question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jfm@blueyonder.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 12:29:59 -0000 Wayne Pascoe 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.