summaryrefslogtreecommitdiff
path: root/common/gdm-log.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-01-22 14:20:08 -0500
committerRay Strode <rstrode@redhat.com>2013-02-04 23:00:50 -0500
commit9fbd02da3c1fa2e2d3b64b9546926ac22f912ca2 (patch)
treee07659ed87323b91caa6cd5206dc63045d2a8b08 /common/gdm-log.h
parent979753ad717dc7480472845f570752ff8ded91c2 (diff)
downloadgdm-9fbd02da3c1fa2e2d3b64b9546926ac22f912ca2.tar.gz
log: When using systemd, just log to stdout/stderr
1) This avoids duplicated output since we were using LOG_PERROR which writes to both syslog and stderr. 2) syslog() is basically deprecated in the systemd world, so let's avoid using it. In this approach, we also output a level prefix to stderr. Some adjustments from Simon McVittie https://bugzilla.gnome.org/show_bug.cgi?id=692308
Diffstat (limited to 'common/gdm-log.h')
-rw-r--r--common/gdm-log.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/gdm-log.h b/common/gdm-log.h
index c7f39769..db6ed873 100644
--- a/common/gdm-log.h
+++ b/common/gdm-log.h
@@ -28,10 +28,6 @@
G_BEGIN_DECLS
-void gdm_log_default_handler (const gchar *log_domain,
- GLogLevelFlags log_level,
- const gchar *message,
- gpointer unused_data);
void gdm_log_set_debug (gboolean debug);
void gdm_log_toggle_debug (void);
void gdm_log_init (void);