[syslog-ng] Continue on with filter errors

Gergely Nagy algernon at balabit.hu
Wed Dec 18 09:29:50 CET 2013


"Lay, James" <james.lay at wincofoods.com> writes:

> Well..say I fat finger a portion of a filter:
>
>  
>
> or message("[^0-9]?97\.65\.)
>
>  
>
> Like leave off a quote.  Thank you.

In this case, I would suggest using a combination of git and syslog-ng
--syntax-only: start with a known good config, and use a git pre-commit
hook that does a syntax-only check, and a post-commit hook that deploys
the config. A couple of short scripts, and this can be made fairly
convenient too.

-- 
|8]



More information about the syslog-ng mailing list