https://bugzilla.balabit.com/show_bug.cgi?id=26 Summary: 3.0.1: syslog facility is not recognized Product: syslog-ng Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: arekm@maven.pl Type of the Report: regression Estimated Hours: 0.0 Config contains: filter f_systlog { facility(syslog); }; and syslog-ng 3.0.1 yells: syntax error in /etc/syslog-ng/syslog-ng.conf at line 75. Replacing "facility(syslog)" with "facility(news)" and problem is gone which suggests problems with parsing "syslog" correctly. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=26 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2009-01-16 14:45:25 --- wow, true enough. "syslog" became a reserved word. This patch fixes it: commit 11f8d45b016107a686dbfa29497960ae3f6145ac Author: Balazs Scheidler <bazsi@balabit.hu> Date: Fri Jan 16 14:44:53 2009 +0100 [config parser] "syslog" became a reserved word, make it possible to use that as a facility name In syslog-ng 3.0, "syslog" became a reserved word, thus the facility() filter couldn't use it as name for the facility named syslog. To avoid having to quote this word, I added a kludge to the config grammar, to make it recognize syslog as a facility name based on context. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com