syslogd writing logs to wrong file

Dan Nelson dnelson at allantgroup.com
Wed Nov 30 19:04:10 GMT 2005


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 at allantgroup.com


More information about the freebsd-questions mailing list