Hmm, this is not really easy. Actually syslog-ng uses has own language, complete with a validating parser and lexer.
Handling syntax errors there is possible, but cumbersome, not to mention the ambiguity that easily happens. Think of web browsers of old times that happily processed documents that resembled HTML and the resulting pain that occurred because of the variations in browsers.
Well..say I fat finger a portion of a filter:
or message("[^0-9]?97\.65\.)
Like leave off a quote. Thank you.
James
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Balazs Scheidler
Sent: Thursday, December 12, 2013 3:09 PM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] Continue on with filter errors
No, its not possible. Do you care to share your usecase? There might be alternative solutions.
On Dec 12, 2013 4:05 PM, "Lay, James" <james.lay@wincofoods.com> wrote:
Question…is there a way to tell syslog-ng to try and continue on with configuration errors (filter)? Weird question maybe, but I was just wondering. Thank you.
James
______________________________________________________________________________
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
______________________________________________________________________________
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