[syslog-ng] Warnings and error while loading default.xml in syslog-ng-3.25.1

Nitish Saboo nitish.saboo55 at gmail.com
Thu Feb 13 11:17:39 UTC 2020


Hi,

I am using syslog-ng version 3.25.1.Getting following Warnings and error
while initialising syslog-ng engine:

[2020-02-13T10:47:29.627899] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;
[2020-02-13T10:47:29.627968] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;
[2020-02-13T10:47:29.628059] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;
[2020-02-13T10:47:29.631090] Error parsing pattern database file;
filename='/opt/tap-parsing/patterns/default.xml',
error='/opt/tap-parsing/patterns/default.xml:17274:22: Joining rulesets
with mismatching program name sets, program=proxysg'


1)For the following warnings, to which version I have to bump up the
configuration file ?

2020-02-13T10:47:29.627899] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;
[2020-02-13T10:47:29.627968] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;
[2020-02-13T10:47:29.628059] WARNING: due to a bug in versions before
syslog-ng 3.8numeric comparison operators like '!=' in filter expressions
were evaluated as string operators. This is fixed in syslog-ng 3.8. As we
are operating in compatibility mode, syslog-ng will exhibit the buggy
behaviour as previous versions until you bump the @version value in your
configuration file;

Currrently the configuration version is the following:

configuration = cfg_new(0x0302)

Do I have to change it to '0x0319' as defined in 'lib/versioning.h' ?

2)The same default.xml file was getting loaded correctly in syslog-ng-3.6.2
and syslog-ng-3.7.1 but getting following error while loading same
default.xml in syslog-ng3.25.1


2020-02-13T10:47:29.631090] Error parsing pattern database file;
filename='/home/nsaboo/abc/default.xml',
error='/home/nsaboo/abc/default.xml:17274:22: Joining rulesets with
mismatching program name sets, program=proxysg'.

What can be the reason for this error ?


Thanks,
Nitish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200213/9a244246/attachment.html>


More information about the syslog-ng mailing list