You are not logged in.

#1 2015-02-03 06:49:25

amish
Member
Registered: 2014-05-10
Posts: 475

[Solved] Too much logging to journal with KDE 5 / Plasma 5?

Hello

Ever since I upgraded to latest KDE I see lots of logging in journal.

It logs data even when I press Alt-TAB!!

Feb 03 12:04:34 amish kdeinit5[2790]: Handler: 0
Feb 03 12:04:34 amish kdeinit5[2790]: Exclude: 0x0  Match?  false
Feb 03 12:04:34 amish kdeinit5[2790]: false
Feb 03 12:04:34 amish kdeinit5[2790]: Gesture ungrab
Feb 03 12:04:34 amish kdeinit5[2790]: Enabled: false
Feb 03 12:04:34 amish kdeinit5[2790]: Handler: 0
Feb 03 12:04:34 amish kdeinit5[2790]: Exclude: 0x0  Match?  false
Feb 03 12:04:34 amish kdeinit5[2790]: false
Feb 03 12:04:34 amish kdeinit5[2790]: Gesture ungrab
Feb 03 12:04:34 amish kwin_x11[2818]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 50992, resource id: 25167105, major code: 18 (ChangeProperty), minor code: 0
Feb 03 12:05:06 amish kglobalaccel5[2802]: Got XKeyPress event
Feb 03 12:05:06 amish kglobalaccel5[2802]: "Alt+Tab" = "Walk Through Windows"
Feb 03 12:05:06 amish kwin_x11[2818]: areKeySymXsDepressed:  any of  2
Feb 03 12:05:06 amish kwin_x11[2818]: 0 : keySymX=0x "ffe9"  i= 8  mask=0x "1"  keymap[i]=0x "1" 
Feb 03 12:05:06 amish kdeinit5[2790]: Enabled: false
Feb 03 12:05:06 amish kdeinit5[2790]: Handler: 0
Feb 03 12:05:06 amish kdeinit5[2790]: Exclude: 0x0  Match?  false
Feb 03 12:05:06 amish kdeinit5[2790]: false
Feb 03 12:05:06 amish kdeinit5[2790]: Gesture ungrab
Feb 03 12:05:06 amish kglobalaccel5[2802]: Got XKeyPress event
Feb 03 12:05:06 amish kglobalaccel5[2802]: "Alt+Tab" = "Walk Through Windows"
Feb 03 12:05:06 amish kwin_x11[2818]: areKeySymXsDepressed:  any of  2
Feb 03 12:05:06 amish kwin_x11[2818]: 0 : keySymX=0x "ffe9"  i= 8  mask=0x "1"  keymap[i]=0x "1" 
Feb 03 12:05:06 amish kdeinit5[2790]: Enabled: false
Feb 03 12:05:06 amish kdeinit5[2790]: Handler: 0
Feb 03 12:05:06 amish kdeinit5[2790]: Exclude: 0x0  Match?  false
Feb 03 12:05:06 amish kdeinit5[2790]: false
Feb 03 12:05:06 amish kdeinit5[2790]: Gesture ungrab

If you select something in konsole and right click anywhere in "konsole" then that is also logged

Feb 03 12:12:07 amish konsole[2950]: org.kde.kurlfilter-ikws: "Feb 03 12:05:06"

How do I disable this debugging?

Could not get much information from Google.

Last edited by amish (2015-02-09 15:16:01)

Offline

#2 2015-02-03 07:29:50

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

run /kdebugdialog5/ to disable it (the ver with the 5 is for KDE SC 4)

Last edited by Thaodan (2015-02-03 07:30:17)


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#3 2015-02-03 09:04:06

amish
Member
Registered: 2014-05-10
Posts: 475

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

Thanks but nope it did not work.

I ran kdebugdialog as well as kdebugdialog5  and clicked on "Disable all debug output"

Logged out of KDE and re-logged in.

Still logs are coming. (journalctl -f)

Can you check your logs?

Last edited by amish (2015-02-03 09:04:38)

Offline

#4 2015-02-06 17:45:44

ReiserFS
Member
Registered: 2014-02-01
Posts: 57

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

amish wrote:

Thanks but nope it did not work.

I ran kdebugdialog as well as kdebugdialog5  and clicked on "Disable all debug output"

Logged out of KDE and re-logged in.

Still logs are coming. (journalctl -f)

Can you check your logs?

Same here. didn't work.

Offline

#5 2015-02-06 18:38:38

ReiserFS
Member
Registered: 2014-02-01
Posts: 57

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

I found a solution:

echo "QT_LOGGING_RULES='*=false'" >> /etc/environment

http://doc-snapshot.qt-project.org/qt5- … egory.html
https://techbase.kde.org/Development/Tu … ameworks_5

Last edited by ReiserFS (2015-02-06 19:09:50)

Offline

#6 2015-02-06 20:18:13

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

then the debug dailog is buggy or useless


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#7 2015-02-09 15:13:45

amish
Member
Registered: 2014-05-10
Posts: 475

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

Instead of disabling all logs. Here is better solution is to disable just debug output:

QT_LOGGING_RULES="*.debug=false"
export QT_LOGGING_RULES

Instead of putting in /etc/environment file, its put in /usr/bin/startkde

From: https://git.reviewboard.kde.org/r/12190 … 8977line12

Hopefully it will be in next KDE release.

Also adding above made KDE a bit faster and more responsive on my system.

Last edited by amish (2015-02-09 15:14:44)

Offline

#8 2015-12-20 18:27:53

micsnare
Member
Registered: 2013-08-25
Posts: 57

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

Hi,

sorry for bringing up this old thread again, but I have the same problem:
I have tons of those log entries in my messages.log

Dec 20 19:07:41 concave kwin_x11[652]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10319, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Dec 20 19:07:41 concave kwin_x11: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10319, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Dec 20 19:07:41 concave kwin_x11[652]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10439, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Dec 20 19:07:41 concave kwin_x11: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10439, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Dec 20 19:09:17 concave kwin_x11[652]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23208, resource id: 14680065, major code: 18 (ChangeProperty), minor code: 0
Dec 20 19:09:17 concave kwin_x11: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23208, resource id: 14680065, major code: 18 (ChangeProperty), minor code: 0
Dec 20 19:09:17 concave kwin_x11[652]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23212, resource id: 14680066, major code: 18 (ChangeProperty), minor code: 0
Dec 20 19:09:17 concave kwin_x11: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23212, resource id: 14680066, major code: 18 (ChangeProperty), minor code: 0


as well as those
Dec 20 19:07:28 concave krunner[654]: QPainter::setBrush: Painter not active
Dec 20 19:07:28 concave krunner: QPainter::setBrush: Painter not active
Dec 20 19:07:28 concave krunner[654]: QPainter::setPen: Painter not active
Dec 20 19:07:28 concave krunner: QPainter::setPen: Painter not active
Dec 20 19:07:28 concave krunner[654]: QPainter::setWorldTransform: Painter not active
Dec 20 19:07:28 concave krunner: QPainter::setWorldTransform: Painter not active
Dec 20 19:07:28 concave krunner[654]: QPainter::setWorldTransform: Painter not active
Dec 20 19:07:28 concave krunner: QPainter::setWorldTransform: Painter not active
Dec 20 19:07:28 concave krunner[654]: QPainter::restore: Unbalanced save/restore
Dec 20 19:07:28 concave krunner: QPainter::restore: Unbalanced save/restore
Dec 20 19:07:28 concave krunner[654]: QPainter::end: Painter not active, aborted
Dec 20 19:07:28 concave krunner: QPainter::end: Painter not active, aborted

are these really just debugging logs?
i'd love to tune them out or not see them at all, because it's making my messages.log unncessarily large...

i've followed the steps as provided by amish.
I wonder if they're update-resistent though... what happens when I update my arch (kde-packages) would this mean that those changes would be lost/overwritten?

thanks,
theresa

Offline

#9 2015-12-20 18:59:09

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

I don't have KDE installed right now, so can't test at the moment, but I remember I had the same problem and looking through my files I can find this here which is a bit different from what amish had:

export QT_LOGGING_RULES="*=false"

I think that fixed it and made all programs be quiet with regards to the journal. I hope I remember right.

Last edited by Ropid (2015-12-20 19:01:27)

Offline

#10 2015-12-23 09:51:48

amish
Member
Registered: 2014-05-10
Posts: 475

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

As I pointed earlier my "export" command disables only debug level logging. And allows other type of Qt logging.

Offline

#11 2018-04-05 21:32:39

stochastix
Member
Registered: 2017-03-06
Posts: 2

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

Going to open this wound because I just ran into this issue as well, but I also may have a good fast solution.

I ran 'kdebugsettings' from console and it opens a GUI with logging settings for many KDE applications as well as custom rules.

Somehow I had a custom rule: "*.debug=true"  in there.

I'm not sure why that was in there but after removing it and applying the settings, the amount of logging is quite normal now.
Also note that if you want to set an application to log debug level messages, this would be a good place to set this.

Last edited by stochastix (2018-04-05 21:33:23)

Offline

#12 2018-04-06 04:49:28

waitnsea
Member
From: France
Registered: 2013-02-10
Posts: 59

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

stochastix wrote:

I ran 'kdebugsettings' from console and it opens a GUI with logging settings for many KDE applications as well as custom rules.

Hi,
Seemed to be a good idea for my similar problem, halas :

$ kdebugsettings
Failed to create display (No such file or directory)
 

But kdebugsettings is installed
Only kdebugdialog accepts opening, with hundreds options...

Offline

#13 2018-04-06 17:47:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,414
Website

Re: [Solved] Too much logging to journal with KDE 5 / Plasma 5?

I'm going to take this opportunity to cloase this old topic. Amish, if you need it reopening, please file a report. waitnsea, please open a new topic for your issue.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB