Bug 372961 - KScreen sends a lot of messages to system log
Summary: KScreen sends a lot of messages to system log
Status: RESOLVED NOT A BUG
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.8.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-26 16:00 UTC by Vladislav Dembskiy
Modified: 2016-11-28 12:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.