[glib] gmessages: Suppress journald code locations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gmessages: Suppress journald code locations
- Date: Sun, 17 Jul 2016 05:54:06 +0000 (UTC)
commit 75084c990fdfa09e919f53392ac8e3fa472d4ea2
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 17 00:39:40 2016 -0400
gmessages: Suppress journald code locations
This only leads to the location of our sd_journal_sendv call
being embedded into every log message coming from the old
API.
glib/gmessages.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index 90b77b4..dd7e597 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -122,6 +122,7 @@
#endif
#ifdef HAVE_LIBSYSTEMD
+#define SD_JOURNAL_SUPPRESS_LOCATION 1
#include <sys/uio.h>
#include <systemd/sd-journal.h>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]