Is there a simple way to stop the spam logging in /var/log/messages that comes from gnome-session in FC 16?
A FC 16 bug (
https://bugzilla.redhat.com/show_bug.cgi?id=755135) is that gnome-session spams /var/log/messages with DEBUG messages. In the discussion of that bug, a workaround was offered:
Quote:
Hugh Sparks 2012-01-29 20:44:49 EST
Here's a simple workaround:
Create the file:
/etc/rsyslog.d/gnome-session-log.conf
With contents:
|
Code:
:programname,isequal,"gnome-session" ~
Quote:
That will throw away all messages from gnome-session.
|
I can't tell from the subsequent discussion whether that workaround should actually work. It didn't work for me. Should it have?