Bug 372961

Summary: KScreen sends a lot of messages to system log
Product: [Plasma] KScreen Reporter: Vladislav Dembskiy <v.dembskiy>
Component: commonAssignee: Sebastian Kügler <sebas>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 5.8.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vladislav Dembskiy 2016-11-26 16:00:12 UTC
I see a lot of repetitive messages in the journalctl output:

ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         Output:  67
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         Property:  Backlight
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         State (newValue, Deleted):  0
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         Output:  67
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         Property:  Backlight
ноя 26 18:22:29 hp-ved-lfs org.kde.KScreen[311]: kscreen.xcb.helper:         State (newValue, Deleted):  0

How to avoid these?
Comment 1 Vladislav Dembskiy 2016-11-26 16:01:56 UTC
My system is LFS with systemd
uname -a
Linux hp-ved-lfs 4.8.10 #1 SMP Mon Nov 21 18:53:41 MSK 2016 x86_64 GNU/Linux
Comment 2 Sebastian Kügler 2016-11-27 22:08:28 UTC
Thanks for the report!

The messages you see in the system log are needed for us to analyze problems in the screen setup code, so these are useful as they help us to fix problems on users' machines.

They're quite easy to disable, you can put the following in the 
~/.config/QtProject/qtlogging.ini

[Rules]
kscreen.*=false

And these messages will be gone.
Comment 3 Vladislav Dembskiy 2016-11-28 08:38:56 UTC
Thanks Sebastian but your solution does not work.
My system does not have the ~/.config/QtProject/qtlogging.ini file.
I have created one, did reboot, and see no effect. The messages still appears in the journalctl output.
Comment 4 Sebastian Kügler 2016-11-28 12:53:22 UTC
There are instructions here: https://blog.qt.io/blog/2014/03/11/qt-weekly-1-categorized-logging/

It's a local problem that you'll have to take care of yourself.