[Syslog-ng-maintainers] Bug#744182: syslog-ng: include option should be befor the log paths in the main syslog-ng.conf file
jdossantos at docs.homelinux.org
jdossantos at docs.homelinux.org
Fri Apr 11 08:02:10 BST 2014
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
More information about the Syslog-ng-maintainers
mailing list