[Syslog-ng-maintainers] Bug#1050692: Outdated configuration file version

Andrew Bower andrew at bower.uk
Fri Mar 7 22:28:57 GMT 2025


On Mon, Aug 28, 2023 at 11:36:52AM +0200, Yuri D'Elia wrote:
> The configuration file provided in syslog-ng-core has "@version: 3.38",
> which triggers the following warning on startup:
> 
> > WARNING: Configuration file format is too old, syslog-ng is running in
> > compatibility mode. Please update it to use the syslog-ng 4.3 format
> > at your time of convenience.
> 
> Followed by:
> 
> > WARNING: Your configuration file uses an obsoleted keyword, please
> > update your configuration; keyword='stats_freq', change='Use the stats()
> > block. E.g. stats(freq(1));',
> > location='/etc/syslog-ng/syslog-ng.conf:14:3'

It looks like this unwelcome log noise was fixed in:

  commit ad9ce65e5956b47d8cdd42232a3f303cb4b1832b
  Author: SZALAY Attila <sasa at debian.org>
  Date:   Sun May 5 21:26:16 2024 +0100

      Update configuration and eliminate warnings

But then the fix was reverted in:

  commit 5cb6d625cb4fac2708b3834ac9bf234ffd279237
  Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
  Date:   Sun Aug 18 12:14:00 2024 +0200

      Revert copyright and autopkgtest changes

I wonder if this was intended?

A similar change makes it go away now.



More information about the Syslog-ng-maintainers mailing list