From 02b0f3052e7b3e87dd723a0088d89985b06e5723 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 16 Jan 2013 19:38:04 +0000 Subject: 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 --- common/gdm-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/gdm-log.c b/common/gdm-log.c index 1d1071d3..e9bf4715 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, -- cgit v1.2.1