summaryrefslogtreecommitdiff
path: root/src/journal/journald-syslog.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
commit1d35b2d6e25ba100c903f02c92c67389e67bb913 (patch)
treea64869507321fd9de4bb28551be0d246d0d63663 /src/journal/journald-syslog.c
parentd8fc78b40fab1d1545b384eb0b8928b78c8828ff (diff)
parent32917e33882778cf2ec6dd54b1e1082266fb072e (diff)
Merge pull request #2424 from keszybz/journald-disk-usage
Journald disk usage
Diffstat (limited to 'src/journal/journald-syslog.c')
-rw-r--r--src/journal/journald-syslog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/journal/journald-syslog.c b/src/journal/journald-syslog.c
index 0be73088e2..9f2ccdcc77 100644
--- a/src/journal/journald-syslog.c
+++ b/src/journal/journald-syslog.c
@@ -448,7 +448,10 @@ void server_maybe_warn_forward_syslog_missed(Server *s) {
if (s->last_warn_forward_syslog_missed + WARN_FORWARD_SYSLOG_MISSED_USEC > n)
return;
- server_driver_message(s, SD_MESSAGE_FORWARD_SYSLOG_MISSED, "Forwarding to syslog missed %u messages.", s->n_forward_syslog_missed);
+ server_driver_message(s, SD_MESSAGE_FORWARD_SYSLOG_MISSED,
+ LOG_MESSAGE("Forwarding to syslog missed %u messages.",
+ s->n_forward_syslog_missed),
+ NULL);
s->n_forward_syslog_missed = 0;
s->last_warn_forward_syslog_missed = n;