From d94819c80e8262310ec6a49c406633ac122636ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 2 Dec 2015 22:42:49 -0500 Subject: [PATCH] test-journal-send: no need to set log level We only use the public api here, so don't include log.h. --- src/journal/test-journal-send.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c index 6943766..3b1515e 100644 --- a/src/journal/test-journal-send.c +++ b/src/journal/test-journal-send.c @@ -19,18 +19,17 @@ along with systemd; If not, see . ***/ +#include #include #include #include "sd-journal.h" -#include "log.h" +#include "macro.h" int main(int argc, char *argv[]) { char huge[4096*1024]; - log_set_max_level(LOG_DEBUG); - sd_journal_print(LOG_INFO, "piepapo"); sd_journal_send("MESSAGE=foobar", -- 2.7.4