This should be working. The block handling was substantially modified inAnton 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?
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