Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 22:54:05 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Francisco Reyes <lists@natserv.com>
Cc:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Re: Syslogd sending messages to two files
Message-ID:  <20040109225405.GD1488@users.munk.nu>
In-Reply-To: <20040109135107.T70750@zoraida.natserv.net>
References:  <20040109135107.T70750@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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