[Logcheck-devel] dedup and sort rules

maks attems debian at sternwelten.at
Tue Sep 28 17:00:29 UTC 2004


On Sun, 05 Sep 2004, Todd Troxell wrote:

> On Wed, Sep 01, 2004 at 02:59:35PM +0200, Michel Verdier wrote:
 
> > Migrating from woody to sarge I decided to automate logcheck update. Here
> > is a script which :
> > - sorts rules
> > - suppress duplicate rules in a same file
> > - checks duplicate rules in files in a same directory
> > - adds debian .dpkg-dist files into old files

woow. just discovered this script.
would be even cooler if aboves feature could be callen with switches,
for example: -c check duplicates -j join -s sorts... (getopts).
 
> This seems like a useful script for users who manage their own rules.  I'm
> NOT going to think about automating this in sarge, but perhaps later. 
> Regardless I would like to include it with the current logcheck package,
> perhaps as documentation.

i agree added it too current logcheck cvs.
just renamed it too 'logcheck-database_parse'.
thanks 

--
maks





More information about the Logcheck-devel mailing list