Bug#275946: [Logcheck-devel] Bug#275946: newline not recognized when logcheck sends emails

maks attems debian at sternwelten.at
Mon Oct 25 20:05:45 UTC 2004


On Fri, 22 Oct 2004, Brendon Baumgartner wrote:

> Started this discussion, might as well try and finish it. :)

thanks for feeback. :)
 
> Watch closely. The 2043 does NOT have the SLAPD rules and the 20:45 does.
> The report generated by the ladder has a linefeed problem. It seems to me
> that the slapd rules match a carriage return or line feed that the other
> rules do not. 
> 
> In summary:
> 2043 report: good. Even where slapd and kernel messages are mixed together.
> 2045 report: bad.
> 
> Let me know what you think.
> Brendon
> 
> (note, I only showed my additions. I removed all my rules that looked like
> they could match a line feed)
<snipp rules>

ok now we have something we can poke on even if looks wired
that removing more messages causes this line-wrap problem.

could you show as the output of
sed -e 's/[[:space:]]+$//' /var/log/syslog | egrep --text slapd | \
egrep --text -v '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ slapd\[[0-9]+\]:'

as i have hands on an ldap server i'll may also try,
maybe a better idea comes up till then.

a++ maks







More information about the Logcheck-devel mailing list