Package: syslog-ng
Version: 3.3.5-4
Severity: wishlist


The @include "/etc/syslog-ng/conf.d/" option is on the bottom of the syslog-ng.conf file, but it should be befor the log paths, as example:

---------

###
# Include all config files in /etc/syslog-ng/conf.d/
###
@include "/etc/syslog-ng/conf.d/"

########################
# Log paths
########################

log { source(s_src); filter(f_auth); destination(d_auth); };
log { source(s_src); filter(f_cron); destination(d_cron); };

---------

If the include option is on the bottom, rules in external files like this are not working:


filter f_drop { (message("192.168.1.251") or message("192.168.1.252")); };
log { source(s_src); filter(f_drop); flags(final); };


because the "standard" log paths are already loaded befor the log paths (in this example a drop rule) in external files...


Regards
Juan Dos Santos


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to