El Friday 03 August 2007 10:04:48 Henning Westerholt escribió:
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?
Thanks, but I already tryed that and the issus persists. Unfortunatelly syslog
syntax is a "little" strange and complex. Really I wouldn't like to dedicate
too much time to it :( but I'll investigate it.
Thanks for all.
--
ilimit...
*Iñaki Baz Castillo*
ibc(a)in.ilimit.es
ÀREA SISTEMES
0034 937 333 375
VOLTA 1, PIS 5
08224 TERRASSA.BCN
Aquest enviament és confidencial i està destinat únicament a la persona a qui
s'ha enviat.
Pot contenir informació privada sotmesa al secret professional, la distribució
de la qual està prohibida per la legislació vigent.