On Thursday 02 August 2007, Iñaki Baz Castillo wrote:
Hi, I've configured:
log_facility=LOG_LOCAL0
and added in "syslog.conf":
# don't log messages with LOG_LOCAL0 in /var/log/syslog anymore
*.*;auth,authpriv.none,local0.none -/var/log/syslog
#
# log messages with LOG_LOCAL0 in /var/log/ser.log
local0.* -/var/log/ser.log
as it appears in
http://docs.huihoo.com/openser/tutorials/ser-syslog/ar01s06.html
OpenSer then logs in /var/log/openser, true, but it still logs
in /var/log/syslog. ¿?¿ Obviously I don't want OpenSer logs appearing
in /var/log/syslog.
Hello Inaki,
AFAIK some versions of syslogd use a different syntax for the configuration
files. Perhaps the "*.*" rule part catches all the log messages, regardless
the later restrictions?
Cheers,
Henning