Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 09:58:57 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        bsd <bsd@todoo.biz>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Login local2 to a log file
Message-ID:  <20090306155857.GB3398@dan.emsphone.com>
In-Reply-To: <B70B15F7-07FD-4E7E-9FBD-15E47494793D@todoo.biz>
References:  <B70B15F7-07FD-4E7E-9FBD-15E47494793D@todoo.biz>

index | next in thread | previous in thread | raw e-mail

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


help

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