summaryrefslogtreecommitdiff
path: root/src/journal/test-journal-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/test-journal-send.c')
-rw-r--r--src/journal/test-journal-send.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c
index d682abbf01..9d376d1e56 100644
--- a/src/journal/test-journal-send.c
+++ b/src/journal/test-journal-send.c
@@ -21,7 +21,11 @@
#include <systemd/sd-journal.h>
+#include "log.h"
+
int main(int argc, char *argv[]) {
+ log_set_max_level(LOG_DEBUG);
+
sd_journal_print(LOG_INFO, "piepapo");
sd_journal_send("MESSAGE=foobar",