D12656: WIP: Use category logging
Maximiliano Curia
noreply at phabricator.kde.org
Wed May 2 09:10:20 UTC 2018
maximilianocuria created this revision.
maximilianocuria added reviewers: Plasma, lbeltrame, ivan.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
maximilianocuria requested review of this revision.
REVISION SUMMARY
Without this kactivitymanagerd logs way too much information about the
users activities/actions (see the reported Debian bug as an example) by
default. Logging categories can be easily enabled by the developers that
are interested in this information.
This change uses the categories that were already defined in Debug.cpp,
using resources for database and utils related messages, activities for
activities for activities and ksm related, and applications for the
rest.
Debian-BUG: https://bugs.debian.org/897388
TEST PLAN
It builds
REPOSITORY
R161 KActivity Manager Service
BRANCH
log_category (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D12656
AFFECTED FILES
src/common/database/Database.cpp
src/common/database/Database.h
src/service/Activities.cpp
src/service/Application.cpp
src/service/Plugin.cpp
src/service/ksmserver/KSMServer.cpp
src/service/plugins/runapplication/CMakeLists.txt
src/service/plugins/runapplication/RunApplicationPlugin.cpp
src/service/plugins/sqlite/CMakeLists.txt
src/service/plugins/sqlite/Database.cpp
src/service/plugins/sqlite/ResourceLinking.cpp
src/service/plugins/sqlite/ResourceScoreCache.cpp
src/service/plugins/sqlite/Utils.h
src/utils/continue_with.h
src/utils/dbusfuture_p.cpp
src/utils/debug_and_return.h
To: maximilianocuria, #plasma, lbeltrame, ivan
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180502/cdbe5353/attachment.html>
More information about the Plasma-devel
mailing list