diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-26 14:20:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-26 14:20:45 +0100 |
commit | 1d35b2d6e25ba100c903f02c92c67389e67bb913 (patch) | |
tree | a64869507321fd9de4bb28551be0d246d0d63663 /src/journal/journald.c | |
parent | d8fc78b40fab1d1545b384eb0b8928b78c8828ff (diff) | |
parent | 32917e33882778cf2ec6dd54b1e1082266fb072e (diff) |
Merge pull request #2424 from keszybz/journald-disk-usage
Journald disk usage
Diffstat (limited to 'src/journal/journald.c')
-rw-r--r-- | src/journal/journald.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c index b9f5c099e1..293b788d03 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -58,7 +58,9 @@ int main(int argc, char *argv[]) { server_flush_dev_kmsg(&server); log_debug("systemd-journald running as pid "PID_FMT, getpid()); - server_driver_message(&server, SD_MESSAGE_JOURNAL_START, "Journal started"); + server_driver_message(&server, SD_MESSAGE_JOURNAL_START, + LOG_MESSAGE("Journal started"), + NULL); for (;;) { usec_t t = USEC_INFINITY, n; @@ -109,7 +111,9 @@ int main(int argc, char *argv[]) { } log_debug("systemd-journald stopped as pid "PID_FMT, getpid()); - server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP, "Journal stopped"); + server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP, + LOG_MESSAGE("Journal stopped"), + NULL); finish: server_done(&server); |