Diffusion Solid 8b921f53ae5c

solid/udisks2: Add support for categorized logging

Authored by bruns on Aug 26 2018, 4:27 PM.

Description

solid/udisks2: Add support for categorized logging

Summary:
Allow users to enable/disable messages from the UDisks2 backend to aid
debugging issues seen only in specific configurations.

Debug levels of individual messages is unchanged, these likely needs
some further refinement.

Test Plan:
Run:
./bin/solid-hardware5 listen
QT_LOGGING_RULES="org.kde.solid.*.debug=false" ./bin/solid-hardware5 listen
QT_LOGGING_RULES="org.kde.solid.*.debug=true" ./bin/solid-hardware5 listen
Plug/unplug USB storage device

-> first two invocations show same output as before
-> third invocation shows additional output, added/lost interfaces

Reviewers: Frameworks, broulik

Reviewed By: broulik

Subscribers: broulik, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D15090

Details

Committed
brunsAug 26 2018, 7:29 PM
Reviewer
broulik
Differential Revision
D15090: solid/udisks2: Add support for categorized logging
Parents
R245:9182bfe35ab1: [Windows Device] Show device label only if there is one
Branches
Unknown
Tags
Unknown