[syslog-ng] Continue on with filter errors

Balazs Scheidler bazsi77 at gmail.com
Wed Dec 18 21:32:38 CET 2013


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.
On Dec 17, 2013 5:17 PM, "Lay, James" <james.lay at wincofoods.com> wrote:

> 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 at lists.balabit.hu [mailto:
> syslog-ng-bounces at 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 at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20131218/e14d8376/attachment.htm 


More information about the syslog-ng mailing list