From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 14:54:51 2004 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 4CAC916A4CE for ; Fri, 9 Jan 2004 14:54:51 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD38143D9F for ; Fri, 9 Jan 2004 14:54:06 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.24; FreeBSD) id 1Af5W1-0000Vt-3x; Fri, 09 Jan 2004 22:54:05 +0000 Date: Fri, 9 Jan 2004 22:54:05 +0000 From: Jez Hancock To: Francisco Reyes Message-ID: <20040109225405.GD1488@users.munk.nu> Mail-Followup-To: Francisco Reyes , FreeBSD Questions List References: <20040109135107.T70750@zoraida.natserv.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040109135107.T70750@zoraida.natserv.net> User-Agent: Mutt/1.4.1i cc: FreeBSD Questions List Subject: Re: Syslogd sending messages to two files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 22:54:51 -0000 On Fri, Jan 09, 2004 at 01:54:13PM +0000, Francisco Reyes wrote: > Recently I setup a Soekris machine with M0n0wall and redirected the log > files to a freebsd server. In /etc/syslogd I have: > !ipmon > *.* /var/log/mono.log Try adding local0.none to the line for /var/log/messages in /etc/syslog.conf - remember to send a HUP signal to syslogd after the changes are made :P ie: *.notice;kern.debug;mail.crit;news.err;local0.none /var/log/messages ... !ipmon *.* /var/log/ipmon.log which works to just log ipmon messages to /var/log/ipmon.log and not /var/log/messages. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/ - ipfw peruser traffic logging