[syslog-ng] [Bug 230] New: Passing args to blocks is broken in syslog-ng v.3.4

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Tue Apr 16 14:40:58 CEST 2013


https://bugzilla.balabit.com/show_bug.cgi?id=230

           Summary: Passing args to blocks is broken in syslog-ng v.3.4
           Product: syslog-ng
           Version: 3.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: koldaevav at gmail.com
Type of the Report: bug
   Estimated Hours: 0.0


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))
^^^^^^


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list