Bug 1084016 - plasma 5.12.2 - settings from qtlogging.ini not taken into account
plasma 5.12.2 - settings from qtlogging.ini not taken into account
Status: RESOLVED FEATURE
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma)
Current
x86-64 openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: E-Mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-05 20:52 UTC by Michael Hirmke
Modified: 2018-03-06 22:52 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
lbeltrame: needinfo? (opensuse)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hirmke 2018-03-05 20:52:13 UTC
After installing Tumbleweed snapshot 20180301 with plasma 5.12.2 I got lots of new warning messages in my journal logs.
I learnt that logging for these messages switched from a file to the journal log.
According to
https://doc.qt.io/qt-5/qloggingcategory.html#configuring-categories
one can stop these messages by setting

[Rules]
*.debug=false

in
  /usr/share/qt5/qtlogging.ini
or in
  ~/.config/QtProject/qtlogging.ini

But adding these settings to one or both of these files didn't reduce the huge amount of messages.
Comment 1 Luca Beltrame 2018-03-05 23:07:53 UTC
Does it work if you install "kdebugsettings" and run it to turn off debug?
Comment 2 Michael Hirmke 2018-03-06 22:37:02 UTC
In the first place kdedebugsettings says

"You have a rule as '*=true' or '*=false' which will override all your specific rule. Better to remove it."
Comment 3 Michael Hirmke 2018-03-06 22:41:38 UTC
And no, setting logging for all KDE apps to "Off" doesn't help either.
Even after rebooting all apps continue logging as before.
Comment 4 Michael Hirmke 2018-03-06 22:47:31 UTC
Oops, the button "Turn debug off" doesn't turn off logging for all apps 8-(
Lots of entries remain on setting warning or even info.

Do I have to switch off every single entry? That would be a lot of work, there are hundred or more of them.
Comment 5 Michael Hirmke 2018-03-06 22:52:50 UTC
Ok, got it.
Fundamental misunderstanding on my side 8-(

[Rules]
*.info=false
*.debug=false
*.warning=false

in ~/.config/QtProject/qtlogging.ini did, what I *really* wanted.