Not quite sure what the link to bugzilla email prefs is supposed to mean Bob. But let me rephrase the question in case I broke some sort of rule by talking about a specific bugzilla. Let's completely disregard the fact that I asked about a specific bug and try a generic question.
Here is the question rephrased generically.
Is there some way to supress/redirect specific syslog messages so that they don't repeat themselves over and over and fill up my syslogs?
Anyone know a way to do this?
---------- Post added at 10:59 PM ---------- Previous post was at 10:56 PM ----------
OK...decided to read the docs and help myself for once.
Going to try reducing the repeat messages using instructions in the rsyslog docs as follows:
file:///usr/share/doc/rsyslog-5.8.7/rsconf1_repeatedmsgreduction.html
Added this to my rsyslog.conf under the RULES section:
# Back off on the repeat messages until we get bz 743779 fixed
$RepeatedMsgReduction on # stop logging every duplicate message
I'll report back the results in case any one else is reading along.
Thanks!
---------- Post added at 11:05 PM ---------- Previous post was at 10:59 PM ----------
OK... That seems to have done what it was meant to, but not sure yet if I have simply traded up for a new message to fill up my logs
Feb 5 23:00:29 blighter dbus-daemon[963]: ** (upowerd:1669): WARNING **: Property get or set does not have an interface string as first arg
Feb 5 23:00:29 blighter dbus-daemon[963]: ** (upowerd:1669): WARNING **: Property get or set does not have an interface string as first arg
Feb 5 23:00:45 blighter kernel: Kernel logging (proc) stopped.
Feb 5 23:00:45 blighter rsyslogd: [origin software="rsyslogd" swVersion="5.8.7" x-pid="973" x-info="http://www.rsyslog.com"] exiting on signal 15.
Feb 5 23:00:45 blighter kernel: imklog 5.8.7, log source = /proc/kmsg started.
Feb 5 23:00:45 blighter rsyslogd: [origin software="rsyslogd" swVersion="5.8.7" x-pid="9654" x-info="http://www.rsyslog.com"] start
Feb 5 23:00:59 blighter dbus-daemon[963]: ** (upowerd:1669): WARNING **: Property get or set does not have an interface string as first arg
Feb 5 23:01:45 dbus-daemon[963]: last message repeated 3 times
Feb 5 23:02:45 dbus-daemon[963]: last message repeated 4 times
---------- Post added at 11:26 PM ---------- Previous post was at 11:05 PM ----------
Alright. My previous attempt to limit the repeat messages just ended up spamming my syslog with a bunch of "last message repeated n times" lines. I did a little more research and found the following rsyslog doc that told me how to completely discard unwanted messages:
http://www.rsyslog.com/discarding-unwanted-messages/
So I created a file:
/etc/rsyslog.d/01-blocklist.conf
And added the following line:
:msg,contains,"WARNING **: Property get or set does not have an interface string as first arg" ~
Problem solved. No more messages caused by this bug. I just need to remember to remove this once the bug is solved. Hope this helps someone.