[MBT] new ticket for pkg logcheck "Improved output"
bugs at pld.org.pl
bugs at pld.org.pl
Wed Jan 15 09:40:49 CET 2003
Date: 2003-01-15 09:40:48+01 Author: (kreutzm) <kreutzm at itp.uni-hannover.de>
Title: Improved output
Ticket ID: #534
Ticket URL: http://bugs.pld.org.pl/?bug=534
Package: logcheck-1.1.1-1
Distribution: PLD-Ra.main
Category: improve request
Current state: opened
Text:
Hello,
once the syslog-ng monitoring (see bug 475) is dealt with, could you also add the following patch which sorts the output ? It is not perfect since it might reverse entries happening at the same second but much better then reading the same time over and over again.
--- logcheck.orig Mon Dec 9 09:09:25 2002
+++ logcheck Mon Dec 9 09:46:32 2002
@@ -276,7 +276,7 @@
echo >> $TMPDIR/checkreport.$$
echo "Unusual System Events" >> $TMPDIR/checkreport.$$
echo "=-=-=-=-=-=-=-=-=-=-=" >> $TMPDIR/checkreport.$$
- cat $TMPDIR/checkoutput.$$ >> $TMPDIR/checkreport.$$
+ cat $TMPDIR/checkoutput.$$|sort -u >> $TMPDIR/checkreport.$$
FOUND=1
fi
fi
More information about the pld-bugs
mailing list