D15090: solid/udisks2: Add support for categorized logging
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sun Aug 26 19:18:39 BST 2018
bruns created this revision.
bruns added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION 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
REPOSITORY
R245 Solid
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D15090
AFFECTED FILES
CMakeLists.txt
src/solid/devices/backends/udisks2/CMakeLists.txt
src/solid/devices/backends/udisks2/udisksblock.cpp
src/solid/devices/backends/udisks2/udisksdevice.cpp
src/solid/devices/backends/udisks2/udisksdevicebackend.cpp
src/solid/devices/backends/udisks2/udisksmanager.cpp
src/solid/devices/backends/udisks2/udisksopticaldisc.cpp
src/solid/devices/backends/udisks2/udisksopticaldrive.cpp
src/solid/devices/backends/udisks2/udisksstorageaccess.cpp
To: bruns, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180826/800bc2d6/attachment.html>
More information about the Kde-frameworks-devel
mailing list