Hello all, I'm trying to send daemon.notice messages coming from inetd to a different file from /var/adm/messages (/var/log/notice, for instance). I don't want to switch from syslog to syslog-ng.
The problem is that syslog, while sending daemon.notice messages to /var/log/notice, keeps sending them also to /var/log/messages, cluttering it. That was the original problem to solve, indeed. This is my current /etc/syslog.conf file: *.err;kern.notice;auth.notice /dev/console *.alert root *.emerg * *.debug /var/adm/messages daemon.notice /var/log/notice This way, there's still the conflict produced by the fact that, following what the manual says, all "daemon" messages of higher priority than "notice" will also be logged into /var/log/notice. If I managed to take daemon.noticemessages off /var/adm/messages, I'd like the /var/adm/messages file to miss *only* daemon.notice lines, not others (daemon,warning, daemon,err, etc.). Any ideas on how to avoid logging daemon.notice lines (and just that) in /var/adm/messages? TIA, -- Andrew _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
