Re: 3.36.1 new log format of some internal messages

Evan Rempel <[email protected]>
Newsgroups gmane.comp.syslog-ng
Message-ID <[email protected]>
What I find even more odd is that on a restart that warning is logged 
via journald and has the extra time stamp, but on a reload the warning 
is only logged internal to syslog-ng without the time stamp.

This also started happening earlier that 3.36.1 The oldest version I 
have for testing is 3.34.1 which behaves the same way.


On 2022-04-05 07:20, Evan Rempel wrote:
>
> syslog-ng  version 3.36.1 has introduced an additional time stamp in 
> some of its internally generated log messages.
>
> [2022-04-05T07:10:27.574110] WARNING: Configuration file format is too 
> old, syslog-ng is running in compatibility mode. Please update it to 
> use the syslog-ng 3.36 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.34'
>
> In the past this log message would have been formatted as
>
> WARNING: Configuration file format is too old, syslog-ng is running in 
> compatibility mode. Please update it to use the syslog-ng 3.36 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.34'
>
> Is this intentional?
>
> Why is it not consistent with other internal messages such as
>
> syslog-ng starting up; version='3.36.1'
>
>
> Another thing of note is that the configuration warning is actually 
> logged via journald while all other internal messages are only 
> available in the syslog-ng log streams sourcing "internal()"
>

-- 
Evan

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.