Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 13:04:01 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: syslogd writing logs to wrong file
Message-ID:  <20051130190401.GG54383@dan.emsphone.com>
In-Reply-To: <20051130182509.65617.qmail@web25511.mail.ukl.yahoo.com>
References:  <20051130182509.65617.qmail@web25511.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 30), Efren Bravo said:
> I've a freeBSD6.0-i386 with IPFv4.1.8 and these
> lines in /etc/syslog.conf
> 
> *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err   /var/log/message
> security.*                            /var/log/security
> ...
> 
> Why syslogd is writing into /var/log/messages
> instead of /var/log/security.

It should be writing to both.  If you don't want security entries in
/var/log/messages, put a "security.none" selector in.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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