Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: syslog-ng  (Read 3601 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

syslog-ng

Hi artix

I noticed a warning message happening in boot messages as per below, is anyone else getting this as well?
Im using artix lxqt openrc.

Code: [Select]
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
[2018-12-18T21:15:45.387942] WARNING: Configuration file format is too old,
syslog-ng is running in compatibility mode. Please update it to use the
syslog-ng 3.18 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.;

it says 3.17 instead of 3.18 on my install.

easy fix just change @version 3.17 to 3.18

Code: [Select]
  GNU nano 3.2              /etc/syslog-ng/syslog-ng.conf                         

@version: 3.17
@include "scl.conf"
#
# /etc/syslog-ng/syslog-ng.conf
#



Re: syslog-ng

Reply #2
Nah, this is normal, expected behavior. It's a couple of different things at work here. When syslog-ng upgrades, it automatically runs in compatibility mode so your logs don't break since there are incompatible changes between different versions. You can just update your configuration file later at your convenience.

As for the packaging part, it is also working correctly. Pacman does not overwrite your configuration files by default. That would be quite mean if it did. Instead if a configuration file must change, it is saved with a .pacnew extension. It's up to the user to decide if he wants to completely replace the configuration file, just update bits and pieces or whatever.

Re: syslog-ng

Reply #3
Thanks for clearing that up Dudemanguy.