After upgrading syslog-ng version 8.0, the following warning may be shown on the system logs as well as in the output of "systemctl status syslog-ng"
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='/opt/syslog-ng/etc/syslog-ng.conf:13:1'
This WARNING message is about format changes in the global options where the setting "stats_freq" has been deprecated, and there is a new setting called "stats()" which is an aggregated collection of statistic-related sub-options. including freq
This message warning has no impact on the settings functionality; this message is only informational.
The new setting is an improvement on the previous one as it has more options, but the previous setting still does its one thing which is to determine how often stats messages are written.
Available in syslog-ng PE 8.0 and later versions.
Description: The stats() option is an aggregated collection of statistic-related sub-options.
options {
stats(
freq(1)
level(1)
lifetime(1000)
max-dynamics(10000)
syslog-stats(yes)
);
};
For more information, please reference the Global Options section of our admin guide.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center