Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 1996 23:08:29 +1000 (EST)
From:      Administrator <root@hobart.tased.edu.au>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Syslog and local
Message-ID:  <Pine.NEB.3.93.960703230403.3113B-100000@flopsy.hobart.TASed.EDU.AU>

next in thread | raw e-mail | index | archive | help
Hi,

I read the man pages for syslog and syslog conf and then tried to setup
syslog to write all calls to local.err to /var/log/local2.err.log

I modified /etc/syslog.conf to read...

*.err;kern.debug;auth.notice;mail.crit		/dev/console
*.notice;kern.debug;lpr,auth.info;mail.crit	/var/log/messages
mail.info					/var/log/maillog
lpr.info					/var/log/lpd-errs
cron.*						/var/cron/log
local2.err					/var/log/local2.err.log
*.err						root
*.notice;auth.debug				root
*.alert						root
*.emerg						*

I then (as root) type kill -1 <syslog pid>

But it didnt appear to work...I tested it using:

logger -p local2.err WonK

but the messages was logged in /var/log/messages.

Any Ideas?

Andrew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.93.960703230403.3113B-100000>