From: Zbigniew Jędrzejewski-Szmek Date: Thu, 3 Dec 2015 03:42:49 +0000 (-0500) Subject: test-journal-send: no need to set log level X-Git-Tag: v229~238^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94819c80e8262310ec6a49c406633ac122636ad;p=thirdparty%2Fsystemd.git test-journal-send: no need to set log level We only use the public api here, so don't include log.h. --- diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c index 694376670d0..3b1515e4389 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",