Passing args to blocks gives error in v.3.4.1
After an upgrade from 3.3.7 to 3.4.1: ... block root mylogs(log()) { }; mylogs(log(123)) ... Gives: Unknown argument; context='root block mylogs', arg='log', value='123' Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in /etc/syslog-ng/syslog-ng.conf at line 11, column 1: mylogs(log(123)) ^^^^^^ Am I doing anything wrong? -- Best regards, Koldaev Anton
Anton Koldaev <koldaevav@gmail.com> writes:
After an upgrade from 3.3.7 to 3.4.1:
... block root mylogs(log()) { }; mylogs(log(123)) ...
Gives:
Unknown argument; context='root block mylogs', arg='log', value='123' Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in /etc/syslog-ng/syslog-ng.conf at line 11, column 1:
mylogs(log(123)) ^^^^^^
Am I doing anything wrong?
This should be working. The block handling was substantially modified in 3.4, and I suppose this is another way in which it broke. I have a reasonable idea how to fix it, and will do so for 3.4.2. -- |8]
Do you need a bug report? On Tue, Apr 16, 2013 at 4:21 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Anton Koldaev <koldaevav@gmail.com> writes:
After an upgrade from 3.3.7 to 3.4.1:
... block root mylogs(log()) { }; mylogs(log(123)) ...
Gives:
Unknown argument; context='root block mylogs', arg='log', value='123' Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in /etc/syslog-ng/syslog-ng.conf at line 11, column 1:
mylogs(log(123)) ^^^^^^
Am I doing anything wrong?
This should be working. The block handling was substantially modified in 3.4, and I suppose this is another way in which it broke. I have a reasonable idea how to fix it, and will do so for 3.4.2.
-- |8]
______________________________________________________________________________ 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
-- Best regards, Koldaev Anton
https://bugzilla.balabit.com/show_bug.cgi?id=230 On Tue, Apr 16, 2013 at 4:35 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Anton Koldaev <koldaevav@gmail.com> writes:
Do you need a bug report?
Yes, please.
-- |8]
______________________________________________________________________________ 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
-- Best regards, Koldaev Anton
participants (2)
-
Anton Koldaev
-
Gergely Nagy