summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-12-02 22:42:49 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-12-02 22:42:49 -0500
commitd94819c80e8262310ec6a49c406633ac122636ad (patch)
tree2cc178d1f566d768ed9c90e5c980dba7ecb28c65 /src/journal
parent3f967a4ccf1846514bd638f38e4f487bb4e1c317 (diff)
test-journal-send: no need to set log level
We only use the public api here, so don't include log.h.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/test-journal-send.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c
index 694376670d..3b1515e438 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 <http://www.gnu.org/licenses/>.
***/
+#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#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",