Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syslogd regression



Jukka Salmi --> current-users (2008-11-12 21:14:27 +0100):
> Hello,
> 
> the recently committed syslogd changes seem to cause the following
> regression:
> 
> $ cat /etc/syslog.conf
> #     $NetBSD: syslog.conf,v 1.9 2004/07/23 03:45:42 mycroft Exp $
> +@
> *.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
> [...]
> -@
> *.debug                                               /var/log/foreign
> 
> This used to work fine, logging messages from the local host to
> /var/log/messages and those of remote hosts to /var/log/foreign.  But
> now all messages from the local hosts end up in /var/log/foreign:

This part has already been [1]fixed; I somehow managed to miss that
commit...


> $ logger -p daemon.info this is a test
> $ tail /var/log/messages
> [... nothing ...]
> $ tail /var/log/foreign
> [...]
> Nov 12 21:08:19 moray jukka: is a test - -
> 
> BTW, notice that the first argument to logger(1) was not logged. Hmm...

This is still true. I sent this as PR bin/39910.


Regards, Jukka

[1] http://mail-index.netbsd.org/source-changes/2008/11/07/msg212347.html

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index