<div dir="ltr">Do you need a bug report?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 4:21 PM, Gergely Nagy <span dir="ltr"><<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Anton Koldaev <<a href="mailto:koldaevav@gmail.com">koldaevav@gmail.com</a>> writes:<br>
<br>
> After an upgrade from 3.3.7 to 3.4.1:<br>
><br>
> ...<br>
> block root mylogs(log()) { };<br>
> mylogs(log(123))<br>
> ...<br>
><br>
><br>
> Gives:<br>
><br>
> Unknown argument; context='root block mylogs', arg='log', value='123'<br>
> Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in<br>
> /etc/syslog-ng/syslog-ng.conf at line 11, column 1:<br>
><br>
> mylogs(log(123))<br>
> ^^^^^^<br>
><br>
> Am I doing anything wrong?<br>
<br>
</div></div>This should be working. The block handling was substantially modified in<br>
3.4, and I suppose this is another way in which it broke. I have a<br>
reasonable idea how to fix it, and will do so for 3.4.2.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Koldaev Anton
</div>