Re: boinc messages (Was: gpm messages)
Hi. On Tue, Jul 09, 2019 at 11:53:23PM +0200, Étienne Mollier wrote: > Reco, on 2019-07-09: > > On Tue, Jul 09, 2019 at 08:13:10AM -0700, Mike McClain wrote: > > > Is there a way to get gpm to quit issuing these messages? > > > > > > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: *** info > > > [daemon/processrequest.c(42)]: > > > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: Request on 12 (console 6) > > > > Yes, filter them with rsyslog like this: > > > > :syslogtag, startswith, "/usr/sbin/gpm" stop > > Dear Sir, > > I would like to let you know that you made my day! Appreciate the kind words, you're welcome. > Inspired by your intervention I created, in my configuration > tree, a file /etc/rsyslog.d/boinc.conf containing: > > :msg, isequal, " No protocol specified" stop That's a trick that I learned back in the day, as they shipped somewhat broken snmpd in wheezy and stretch. It was working OK, but filled syslog with useless gibberish. The solution was to filter problematic messages out. Reco
boinc messages (Was: gpm messages)
Reco, on 2019-07-09: > On Tue, Jul 09, 2019 at 08:13:10AM -0700, Mike McClain wrote: > > Is there a way to get gpm to quit issuing these messages? > > > > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: *** info > > [daemon/processrequest.c(42)]: > > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: Request on 12 (console 6) > > Yes, filter them with rsyslog like this: > > :syslogtag, startswith, "/usr/sbin/gpm" stop Dear Sir, I would like to let you know that you made my day! See, I have boinc processes running on my machine which, due to a long standing bug of proper DISPLAY detection to identify user activity, spams every second my syslog with this message: Jul 9 23:19:48 fusion boinc[653]: No protocol specified Jul 9 23:19:49 fusion boinc[653]: No protocol specified Jul 9 23:19:50 fusion boinc[653]: No protocol specified Inspired by your intervention I created, in my configuration tree, a file /etc/rsyslog.d/boinc.conf containing: :msg, isequal, " No protocol specified" stop Then restarted the logging service: # invoke-rc.d rsylog restart Spam from boinc is no more. :) Kind Regards, -- Étienne Mollier 5AB1 4EDF 63BB CCFF 8B54 2FA9 59DA 56FE FFF3 882D signature.asc Description: OpenPGP digital signature
Re: gpm messages
On Tue, Jul 09, 2019 at 08:13:10AM -0700, Mike McClain wrote: > Is there a way to get gpm to quit issuing these messages? > > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: *** info > [daemon/processrequest.c(42)]: > Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: Request on 12 (console 6) Yes, filter them with rsyslog like this: :syslogtag, startswith, "/usr/sbin/gpm" stop Or get used to them if you're using journalctl. There are no filters in journald. Rebuilding gpm without HAVE_VSYSLOG flag may also help. Reco
gpm messages
Is there a way to get gpm to quit issuing these messages? Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: *** info [daemon/processrequest.c(42)]: Jul 9 08:10:00 playground /usr/sbin/gpm[2929]: Request on 12 (console 6) Thanks, Mike -- Diplomats are nothing but high-class lawyers - and some ain't even high class. - Will Rogers