Use category logging
ClosedPublic

Authored by maximilianocuria on May 2 2018, 9:10 AM.

Details

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

Diff Detail

Repository
R161 KActivity Manager Service
Branch
log_category (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Restricted Application added a project: Plasma. · View Herald TranscriptMay 2 2018, 9:10 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
maximilianocuria requested review of this revision.May 2 2018, 9:10 AM
ivan accepted this revision.May 2 2018, 9:28 AM
This revision is now accepted and ready to land.May 2 2018, 9:28 AM
maximilianocuria retitled this revision from WIP: Use category logging to Use category logging.May 2 2018, 9:56 AM