From 75084c990fdfa09e919f53392ac8e3fa472d4ea2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Jul 2016 00:39:40 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/glib/gmessages.c b/glib/gmessages.c index 90b77b49b..dd7e597bb 100644 --- a/glib/gmessages.c +++ b/glib/gmessages.c @@ -122,6 +122,7 @@ #endif #ifdef HAVE_LIBSYSTEMD +#define SD_JOURNAL_SUPPRESS_LOCATION 1 #include #include #endif