[gdm] log: Log messages of level MESSAGE, INFO too



commit 02b0f3052e7b3e87dd723a0088d89985b06e5723
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Wed Jan 16 19:38:04 2013 +0000

    log: Log messages of level MESSAGE, INFO too
    
    Previously, gdm would log messages of levels ERROR, CRITICAL, WARNING,
    and optionally also DEBUG, to syslog. This left messages of level
    MESSAGE or INFO not logged, and no way to get them logged.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=692301
    Signed-off-by: Simon McVittie <simon mcvittie collabora co uk>

 common/gdm-log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/gdm-log.c b/common/gdm-log.c
index 1d1071d..e9bf471 100644
--- a/common/gdm-log.c
+++ b/common/gdm-log.c
@@ -37,7 +37,7 @@
 #include "gdm-log.h"
 
 static gboolean initialized = FALSE;
-static int      syslog_levels = (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
+static int      syslog_levels = G_LOG_LEVEL_MASK & ~G_LOG_LEVEL_DEBUG;
 
 static void
 log_level_to_priority_and_prefix (GLogLevelFlags log_level,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]