[Logcheck-devel] Bug#234385: logcheck: Please add a test mode

maks attems debian at sternwelten.at
Sun Jun 13 11:07:14 UTC 2004


tags 234385 pending
thanks


On Mon, 23 Feb 2004, Wolfgang Weisselberg wrote:

> Package: logcheck
> Version: 1.2.15
> Severity: wishlist
> 
> Please add a test mode:
>     -T LOGFILE   Run LOGFILE through logcheck, but do not update
>                  or use the state (last position seen).
>                  Should be combined with -o (output to STDOUT).
>                  
>                  The testmode runs over LOGFILE, but does
>                  not interfere with normal operations.  It is
>                  designed to give the admin a quick method to
>                  check the effect of his configuration changes on
>                  LOGFILE: are the correct lines (and only these)
>                  ignored now?

current logcheck cvs contains a test mode, which does not update
the offset '-t' and another one, where you can directly pass
choosen logfile '-l'. 
for example: 
# logcheck -t -l /var/log/amavis.log
(add the -o switch or the new -m switch as needed)

you might want to add the logcheck testing releases apt repository
to your sources file to test this nice idea:
# logcheck testing releases
deb http://debian.stro.at sarge/

thanks for your bug report!
a++ maks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040613/6a03b8d7/attachment.pgp 


More information about the Logcheck-devel mailing list