Use category logging

Authored by maximilianocuria on May 2 2018, 8:26 AM.

Description

Use category logging

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

Reviewers: Plasma, lbeltrame, ivan

Reviewed By: Plasma, ivan

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
maximilianocuriaMay 2 2018, 9:56 AM
Reviewer
Plasma
Differential Revision
D12656: Use category logging
Parents
R161:66c8f9ae86e3: Allowing KAMD to run without a database backend
Branches
Unknown
Tags
Unknown