mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-02 20:16:52 +02:00
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:
parent
fce7cfaf40
commit
75084c990f
@ -122,6 +122,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBSYSTEMD
|
#ifdef HAVE_LIBSYSTEMD
|
||||||
|
#define SD_JOURNAL_SUPPRESS_LOCATION 1
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
#include <systemd/sd-journal.h>
|
#include <systemd/sd-journal.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user