NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/47529: syslogd doesn't correctly follow syslog.conf rules
>Number: 47529
>Category: bin
>Synopsis: syslogd doesn't correctly follow syslog.conf rules
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 04 01:40:01 +0000 2013
>Originator: Jeff G Woodall
>Release: NetBSD 6.99.16
>Organization:
>Environment:
System: NetBSD ituner.sleepy.cat 6.99.16 NetBSD 6.99.16 (GENERIC)
#0: Fri Jan 18 03:30:55 UTC 2013
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201301171940Z-obj/\
home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
In 5.x the following would direct messages from host globalinx _only_
to /var/log/globalinx.log:
#/etc/syslog.conf
-globalinx
*.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console
*.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages
kern.debug /var/log/messages
auth,authpriv.info /var/log/authlog
cron.info /var/log/cron
ftp.info /var/log/xferlog
lpr.info /var/log/lpd-errs
mail.info /var/log/maillog
#uucp.info /var/spool/uucp/ERRORS
*.emerg *
#*.notice root
# Save all globalinx log messages to separate file
!*
+globalinx
*.* /var/log/globalinx.log
--
In current this same syslog.conf now logs to both /var/log/globalinx.log AND
/var/log/messages.
For both, syslogd is started with 'syslogd -b globalinx' , where globalinx is
an entry in /etc/hosts. Adding '-U' option restores functionality, though it
then
requires explict facility.level entries...
>How-To-Repeat:
Setup in both 5.x and current and write log messages to syslogd remotely.
>Fix:
?
Home |
Main Index |
Thread Index |
Old Index