Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th February 2012, 03:19 PM
zablalbaz Offline
Registered User
 
Join Date: Feb 2008
Posts: 36
linuxfirefox
upowerd bug 743779: Is there a way to supress the messages?

Hey All,

I'm hitting the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=743779

Does anyone know how I can supress those mesages or send them to /dev/null until the bug is resolved?

Thanks!
Reply With Quote
  #2  
Old 5th February 2012, 03:40 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,214
linuxfirefox
Re: upowerd bug 743779: Is there a way to supress the messages?

https://bugzilla.redhat.com/userprefs.cgi?tab=email
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 6th February 2012, 04:26 AM
zablalbaz Offline
Registered User
 
Join Date: Feb 2008
Posts: 36
linuxfirefox
Re: upowerd bug 743779: Is there a way to supress the messages?

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.

Last edited by zablalbaz; 6th February 2012 at 03:58 AM. Reason: posted wrong last time
Reply With Quote
  #4  
Old 5th July 2012, 08:38 AM
Vascom Offline
Registered User
 
Join Date: Jul 2007
Location: Russia, Moscow
Posts: 3
linuxchrome
Re: upowerd bug 743779: Is there a way to supress the messages?

Thanks very much
Reply With Quote
Reply

Tags
bug, messages, supress, upowerd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Current GMT-time: 05:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat