From 125cc5082fd6ba68376850d55ff3226321dca5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 31 Jul 2015 13:29:58 +0200 Subject: [PATCH] Change default logging category to QtCriticalMsg Less noisy KWin by default. --- backends/drm/logging.cpp | 2 +- backends/fbdev/logging.cpp | 2 +- backends/hwcomposer/logging.cpp | 2 +- backends/wayland/logging.cpp | 2 +- backends/x11/logging.cpp | 2 +- clients/aurorae/src/lib/auroraetheme.cpp | 2 +- effects/logging.cpp | 2 +- utils.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backends/drm/logging.cpp b/backends/drm/logging.cpp index 8216835f96..c424df8465 100644 --- a/backends/drm/logging.cpp +++ b/backends/drm/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "logging.h" -Q_LOGGING_CATEGORY(KWIN_DRM, "kwin_wayland_drm") +Q_LOGGING_CATEGORY(KWIN_DRM, "kwin_wayland_drm", QtCriticalMsg) diff --git a/backends/fbdev/logging.cpp b/backends/fbdev/logging.cpp index 5e2b89c21f..5664208a5e 100644 --- a/backends/fbdev/logging.cpp +++ b/backends/fbdev/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "logging.h" -Q_LOGGING_CATEGORY(KWIN_FB, "kwin_wayland_framebuffer") +Q_LOGGING_CATEGORY(KWIN_FB, "kwin_wayland_framebuffer", QtCriticalMsg) diff --git a/backends/hwcomposer/logging.cpp b/backends/hwcomposer/logging.cpp index cdd9853fd2..38f82b15e7 100644 --- a/backends/hwcomposer/logging.cpp +++ b/backends/hwcomposer/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "logging.h" -Q_LOGGING_CATEGORY(KWIN_HWCOMPOSER, "kwin_wayland_hwcomposer") +Q_LOGGING_CATEGORY(KWIN_HWCOMPOSER, "kwin_wayland_hwcomposer", QtCriticalMsg) diff --git a/backends/wayland/logging.cpp b/backends/wayland/logging.cpp index 4ff181b0ec..3947cfb992 100644 --- a/backends/wayland/logging.cpp +++ b/backends/wayland/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "logging.h" -Q_LOGGING_CATEGORY(KWIN_WAYLAND_BACKEND, "kwin_wayland_backend") +Q_LOGGING_CATEGORY(KWIN_WAYLAND_BACKEND, "kwin_wayland_backend", QtCriticalMsg) diff --git a/backends/x11/logging.cpp b/backends/x11/logging.cpp index bf12323fba..07fe50deab 100644 --- a/backends/x11/logging.cpp +++ b/backends/x11/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "logging.h" -Q_LOGGING_CATEGORY(KWIN_X11WINDOWED, "kwin_wayland_x11windowed") +Q_LOGGING_CATEGORY(KWIN_X11WINDOWED, "kwin_wayland_x11windowed", QtCriticalMsg) diff --git a/clients/aurorae/src/lib/auroraetheme.cpp b/clients/aurorae/src/lib/auroraetheme.cpp index 5628ddcce1..ed940a0a1a 100644 --- a/clients/aurorae/src/lib/auroraetheme.cpp +++ b/clients/aurorae/src/lib/auroraetheme.cpp @@ -28,7 +28,7 @@ #include #include -Q_LOGGING_CATEGORY(AURORAE, "aurorae") +Q_LOGGING_CATEGORY(AURORAE, "aurorae", QtCriticalMsg) namespace Aurorae { diff --git a/effects/logging.cpp b/effects/logging.cpp index f65c5ec7f0..a8a3e73cfb 100644 --- a/effects/logging.cpp +++ b/effects/logging.cpp @@ -18,4 +18,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include -Q_LOGGING_CATEGORY(KWINEFFECTS, "kwineffects"); +Q_LOGGING_CATEGORY(KWINEFFECTS, "kwineffects", QtCriticalMsg); diff --git a/utils.cpp b/utils.cpp index f357fcbc1b..991539cb6b 100644 --- a/utils.cpp +++ b/utils.cpp @@ -44,7 +44,7 @@ along with this program. If not, see . #endif -Q_LOGGING_CATEGORY(KWIN_CORE, "kwin_core") +Q_LOGGING_CATEGORY(KWIN_CORE, "kwin_core", QtCriticalMsg) namespace KWin {