[syslog-ng] Passing args to blocks gives error in v.3.4.1

Anton Koldaev koldaevav at gmail.com
Tue Apr 16 13:49:50 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130416/f339b6fe/attachment.htm 


More information about the syslog-ng mailing list