[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logcheck drives me crazy



Hi,

I wanted to supress PostgreSQL statistics in the logcheck messages by the
following entry in

       /etc/logcheck/ignore.d.server/postgresql.my

Formerly the following line worked perfectly for a long time:

  postgres\[.*\]: \[[-0-9]*\] .*CPU 0.[0-9]*s/0.[01][0-9]u sec elapsed [01].[0-9]* sec.

Now I updated the box to testing and I'm continuousely flooded with these
logcheck messages. I went more and more to more general expressions like now

  postgres\[.*\]: .*CPU .* sec elapsed

Believe it or not logcheck is flooding me with messages like crazy:

---------- Forwarded message ----------
Date: Tue, 18 Mar 2003 04:02:02 +0100
From: root <tillea@rki.de>
To: tillea@rki.de
Subject: wr-linux02 2003/03/18 04:02 System Events

This mail is sent by logcheck. If you do not want to receive it any more,
please modify the config file (/etc/logcheck/logcheck.conf) or deinstall logcheck.

System Events
=-=-=-=-=-=-=
Mar 18 04:00:01 wr-linux02 postgres[30422]: [3-2] ^ITotal CPU 0.00s/0.00u sec elapsed 0.01 sec.
Mar 18 04:00:01 wr-linux02 postgres[30422]: [6-2] ^ITotal CPU 0.00s/0.01u sec elapsed 0.01 sec.
Mar 18 04:00:01 wr-linux02 postgres[30422]: [9-2] ^ITotal CPU 0.00s/0.00u sec elapsed 0.00 sec.
Mar 18 04:00:01 wr-linux02 postgres[30422]: [12-2] ^ITotal CPU 0.00s/0.00u sec elapsed 0.00 sec.
Mar 18 04:00:01 wr-linux02 postgres[30422]: [15-2] ^ITotal CPU 0.00s/0.00u sec elapsed 0.00 sec.
Mar 18 04:00:01 wr-linux02 postgres[30422]: [18-2] ^ITotal CPU 0.00s/0.00u sec elapsed 0.00 sec.
...


I just want to make sure that I did not missed anything before filing a bug report.

Kind regards

        Andreas.



Reply to: