Your message dated Tue, 28 May 2024 00:26:59 +0100
with message-id
<CAJ3BuoQ7JwRCWSFKwfF2w6QUajPJq=kg32ciqfkqu3kkz41...@mail.gmail.com>
and subject line Re: logcheck: ignore "last line repeated $n times" if prevline
matched
has caused the Debian Bug report #409444,
regarding logcheck: ignore "last line repeated $n times" if prevline matched
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
409444: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409444
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: logcheck
Version: 1.2.53
Severity: wishlist
I (think I) want to see how many times the messages I care about are
repeated. This means I can't ignore "last line repeated $n times"
messages (obviously). But since those can also occur after messages
that are ignored, I can't _not_ ignore them either. So, I lose.
I can see two solutions: one is to add a new config option; the other
is replacing the current set-of-regular-expressions with sed scripts.
Although the sed script solution is potentially more general, I have a
problem when logchecking units _start_with_ "last line repeated...";
in order to solve this, one could imagine instructing logcheck to move
lines between logchecking units. But then logcheck quickly becomes
more ad-hoc than if you just add a config option. I'd think.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to
en_GB.ISO-8859-1)
Versions of packages logcheck depends on:
ii adduser 3.102 Add and remove users and groups
ii cron 3.0pl1-100 management of regular background p
ii debconf 1.5.11 Debian configuration management sy
ii exim4 4.63-17 metapackage to ease exim MTA (v4)
ii exim4-daemon-lig 4.63-17 lightweight exim MTA (v4) daemon
ii grep 2.5.1.ds2-6 GNU grep, egrep and fgrep
ii lockfile-progs 0.1.10 Programs for locking and unlocking
ii logtail 1.2.53 Print log file lines that have not
ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii sysklogd [system 1.4.1-18 System Logging Daemon
Versions of packages logcheck recommends:
pn logcheck-database <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, 28 Apr 2024 22:34:08 +0100 Richard Lewis
<[email protected]> wrote:
> On Sat, 03 Feb 2007 10:29:38 +0100 Jonas Koelker <[email protected]> wrote:
>
> > I (think I) want to see how many times the messages I care about are
> > repeated. This means I can't ignore "last line repeated $n times"
> > messages (obviously). But since those can also occur after messages
> > that are ignored, I can't _not_ ignore them either. So, I lose.
> >
>
> rsyslog has disabled the "feature" which produces this message, see
> https://www.rsyslog.com/doc/configuration/action/rsconf1_repeatedmsgreduction.html
>
> so this bug from 2007 can, i think, be closed.
A month later: closing
--- End Message ---