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.
This commit is contained in:
Matthias Clasen 2016-07-17 00:39:40 -04:00
parent fce7cfaf40
commit 75084c990f

View File

@ -122,6 +122,7 @@
#endif
#ifdef HAVE_LIBSYSTEMD
#define SD_JOURNAL_SUPPRESS_LOCATION 1
#include <sys/uio.h>
#include <systemd/sd-journal.h>
#endif