FS#57066 - [syslog-ng] Configuration file format is too old

Attached to Project: Arch Linux
Opened by Alan Yang (alany) - Friday, 12 January 2018, 10:35 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 09 July 2023, 16:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current version of syslog-ng is 3.13.2 whereas the first line in syslog-ng.conf is @version: 3.12.

This triggers the following warning message.

WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.13 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.
This task depends upon

Closed by  Florian Pritz (bluewind)
Sunday, 09 July 2023, 16:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  syslog-ng 4.2.0-1
Comment by Connor Behan (connorbehan) - Wednesday, 22 December 2021, 08:08 GMT
  • Field changed: Percent Complete (100% → 0%)
This happened again in 3.35. Fix should be just as trivial.
Comment by Yuri Kanivetsky (x-yuri) - Friday, 24 December 2021, 14:14 GMT
Running syslog-ng produces:

$ syslog -F
[2021-12-24T14:06:31.138545] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.35 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.33'

Considering that that's the only warning, all that's needed is to change the version in the config. But don't take my word for it, I know little about syslog-ng.
Comment by Connor Behan (connorbehan) - Tuesday, 11 April 2023, 22:35 GMT
Version should be updated for 4.0.
Comment by Toolybird (Toolybird) - Tuesday, 11 April 2023, 22:36 GMT
Some automation here would be nice..

Loading...