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

Anton Koldaev koldaevav at gmail.com
Tue Apr 16 14:34:02 CEST 2013


Do you need a bug report?


On Tue, Apr 16, 2013 at 4:21 PM, Gergely Nagy <algernon at balabit.hu> wrote:

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


More information about the syslog-ng mailing list