GSoC/GCI Archive
Google Code-in 2014 KDE

Switch to qCDebug in KWin Core

completed by: Daniel Pastushchak

mentors: mgraesslin

KWin core uses qDebug, qWarning and qCritical. This is causing lots of noise when running KWin and should be replaced by the categorized logging using qCDebug etc. For this task a Q_DECLARE_LOGGING_FACTORY should be added to utils.h and the Q_LOGGING_CATEGORY to utils.cpp. All of the debug statements should be switched to the qCDebug in the main directory. It might be needed to include utils.h in some cases. The new logging category needs to be registered in KWin::Application::setupLoggingCategoryFilters found in main.cpp