From owner-freebsd-questions Wed Oct 6 8:33:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.rtpnc.epa.gov (merlin.rtpnc.epa.gov [134.67.208.148]) by hub.freebsd.org (Postfix) with ESMTP id A14B7155B3 for ; Wed, 6 Oct 1999 08:33:00 -0700 (PDT) (envelope-from Jenkins.Mike@epamail.epa.gov) Received: from myrtle.rtpnc.epa.gov by epamail.epa.gov (PMDF V5.1-12 #26439) with ESMTP id <0FJ600FCIS5K5X@epamail.epa.gov> for questions@freebsd.org; Wed, 6 Oct 1999 11:07:04 -0400 (EDT) Received: from EPAHUB2.RTP.EPA.GOV by epamail.epa.gov (PMDF V5.1-12 #26438) with SMTP id <0FJ600GDNS3RND@epamail.epa.gov> for questions@freebsd.org; Wed, 06 Oct 1999 10:55:04 -0400 (EDT) Received: by EPAHUB2.RTP.EPA.GOV(Lotus SMTP MTA v4.6.3 hotfix 1 (767.1 12-15-1998)) id 85256802.00517D7F ; Wed, 06 Oct 1999 10:50:05 -0400 Date: Wed, 06 Oct 1999 09:55:10 -0500 From: Jenkins.Mike@epamail.epa.gov Subject: Re: syslogd questions To: drew@j51.com Cc: questions@freebsd.org Message-id: <85256802.00517AF1.00@EPAHUB2.RTP.EPA.GOV> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline X-Lotus-FromDomain: EPA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >What can I do to get ipfw from logging to /var/log/messages? >I have added >!ipfw >*.* /var/log/ipfw > >but now it logs to both files. ipfw uses the kern facility so you could change kern.debug to kern.none on the /var/log/messages line (and maybe /dev/console line) in syslog.conf. Of course, you probably do want to see the other kernel messages so maybe a new line in syslog.conf that sends kern messages to a filter: kern.debug |exec /usr/local/sbin/filter-out-ipfw-messages Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message