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

Re: Gnome flooding syslog



	Hi.

On Sat, Sep 08, 2018 at 12:30:13PM -0400, Jim Popovitch wrote:
> On Sat, 2018-09-08 at 19:18 +0300, Reco wrote:
> > 	Hi.
> > 
> > On Sat, Sep 08, 2018 at 12:10:26PM -0400, Jim Popovitch wrote:
> > > How do I prevent/stop Gnome trivial errors from flooding syslog?
> > 
> > By configuring your journald and syslog correctly.
> > For instance, this little snippet:
> > 
> > $ cat /etc/systemd/journald.conf.d/lessspam.conf
> > [Journal]
> > MaxLevelSyslog=info
> 
> My system didn't have a journal.conf.d directory, nor a reference to it in journal.conf,
> but I did uncomment and modify MaxLevelSyslog= in journal.conf.  Thanks for that!

You're supposed to create the directory. It's documented at
journald.conf(5). Kind of documented, that is.
Editing journald.conf will work too, of course.

> > > Simply resizing gnome-terminal yields dozens (hundreds?) of log entries like:
> > > 
> > >    gnome-terminal-[1849]: Allocating size to GtkScrollbar 0x5616bb780720 without
> > >    calling gtk_widget_get_preferred_width/height(). How does the code know the
> > >    size to allocate?
> > 
> > Of course, fixing the offending program would be right way of doing
> > this, but it's a GNOME program we're talking about. And GNOME programs
> > are known for this kind of spam.
> > 
> 
> :-)  
> 
> You're my hero today, Much thanks!!

You're welcome.

Reco


Reply to: