maximilian attems
2004-Oct-21 18:23 UTC
[Logcheck-devel] Bug#174331: logcheck: propose support for macros in configs
On Sat, 04 Jan 2003, Elliott Mitchell wrote:> > From: Jon Middleton <jjm at debian.org> > > On Thu, Dec 26, 2002 at 12:02:17AM -0800, Elliott Mitchell wrote: > > > Towards the purpose of making much tigher matches easier, I'd like to > > > propose implementing the ability to use macros in the pattern files. The > > > patch below is one way this might be done. Create $CONFDIR/macros, and > > > have lots of lines of the form "name=stuff" and $name in the rule files > > > will be substituted.there have been several requests for macros. could you update your patch against a current logcheck version (sarge 1.2.28, sid 1.2.29, cvs 1.2.30) are quite similar. your ideas for checking the return of any command in logcheck has already been implemented inbetween. it would be great if your patches focusses on macro only. please no whitespace cleanup. thanks a lot + hope to read you soon maks ps if you have any question, don't hesitate to ask.