Login local2 to a log file

Dan Nelson dnelson at allantgroup.com
Fri Mar 6 07:59:02 PST 2009


In the last episode (Mar 06), bsd said:
> How can I log messages sent to local2 to a given log file ?  Which file do
> I have to update in order to achieve that?

/etc/syslog.conf

local2.*	/var/log/local2

See the syslog.conf manpage for more options

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list