diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-01-16 19:38:04 +0000 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2013-02-04 22:35:22 -0500 |
commit | 02b0f3052e7b3e87dd723a0088d89985b06e5723 (patch) | |
tree | 9fcb31531f864c2b944a75ba87508f9161542dc7 | |
parent | f46bd9712e9452068199ceb44ed414cb8e408ce7 (diff) | |
download | gdm-02b0f3052e7b3e87dd723a0088d89985b06e5723.tar.gz |
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>
-rw-r--r-- | 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 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, |