From 78ac170972bb34c5e739843c95eb51c19b70c35c Mon Sep 17 00:00:00 2001 From: Yan Wong Date: Fri, 24 Dec 2021 18:03:08 +0000 Subject: [PATCH] Change to version 3.25 This stops warnings during running of the form > WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.25 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.5' The only issues flagged during startup are: > WARNING: log-fifo-size() works differently starting with syslog-ng 3.22 to avoid dropping flow-controlled messages when log-fifo-size() is misconfigured. From now on, log-fifo-size() only affects messages that are not flow-controlled. (Flow-controlled log paths have the flags(flow-control) option set.) To enable the new behaviour, update the @version string in your configuration and consider lowering the value of log-fifo-size().; And `log-fifo-size` is not used in this syslog-ng setup anyway --- services/syslog-ng/syslog-ng.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/syslog-ng/syslog-ng.conf b/services/syslog-ng/syslog-ng.conf index ad8ad1c..5b0954b 100644 --- a/services/syslog-ng/syslog-ng.conf +++ b/services/syslog-ng/syslog-ng.conf @@ -1,4 +1,4 @@ -@version: 3.5 +@version: 3.25 @include "scl.conf" # Syslog-ng configuration file, compatible with default Debian syslogd