From d63c1b8a458b42becd5b9eafc9c34fbeaf6b504d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Plissonneau=20Duqu=C3=A8ne?= Date: Sat, 25 Apr 2020 16:43:26 +0200 Subject: [PATCH] Move include directive before default outputs This makes it possible to override the default outputs with additional configuration files without modifying the default syslog-ng.conf provided by the package. --- debian/syslog-ng.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/syslog-ng.conf b/debian/syslog-ng.conf index 5ac14f35f..e500717f0 100644 --- a/debian/syslog-ng.conf +++ b/debian/syslog-ng.conf @@ -118,6 +118,11 @@ filter f_cother { level(debug, info, notice, warn) or facility(daemon, mail); }; filter f_ppp { facility(local2) and not filter(f_debug); }; filter f_console { level(warn .. emerg); }; +######################## +# Include all config files in /etc/syslog-ng/conf.d/ +######################## +@include "/etc/syslog-ng/conf.d/*.conf" + ######################## # Log paths ######################## @@ -154,8 +159,3 @@ log { source(s_src); filter(f_crit); destination(d_console); }; # All messages send to a remote site # #log { source(s_src); destination(d_net); }; - -### -# Include all config files in /etc/syslog-ng/conf.d/ -### -@include "/etc/syslog-ng/conf.d/*.conf"