[Logcheck-devel] Bug#278337: Acknowledgement (logcheck: perdition adds extra      spaces on SOME syslog messages)
    brendon at brendon.com 
    brendon at brendon.com
       
    Tue Oct 26 08:54:15 UTC 2004
    
    
  
I noticed snmpd was also reporting messages it shouldn't have. So logcheck
WAS removing trailing spaces from syslog lines. One line was changed from
1.28 to 1.29 and that seems to be the problem.
632c632
< $SORT -m $TMPDIR/logoutput/* | uniq | sed -e 's/ *$//' | cat  \
---
> $SORT $TMPDIR/logoutput/* | sed -e 's/[[:space:]]+$//' | cat  \
So, ignore my previous post. Don't change the logcheck rule. Patch
logcheck. Here is a solution that works.
632c632
< $SORT $TMPDIR/logoutput/* | sed -e 's/[[:space:]]+$//' | cat  \
---
> $SORT $TMPDIR/logoutput/* | sed -e 's/[[:space:]]*$//' | cat  \
-brendon
    
    
More information about the Logcheck-devel
mailing list