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.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",