X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fjournal%2Fjournald.c;h=18db31c3bc5218c89a60feff488901adc1f3732d;hp=17aac8877b778f663669617e16097bc6d4456aa2;hb=4ca86bbc25540acc322679b98c4f18a540c100ee;hpb=361f9cbc7e6c7d3ac41892f5a5aebd1ef4049b95;ds=sidebyside diff --git a/src/journal/journald.c b/src/journal/journald.c index 17aac8877..18db31c3b 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -868,7 +868,8 @@ static void forward_syslog_iovec(Server *s, const struct iovec *iovec, unsigned return; } - log_debug("Failed to forward syslog message: %m"); + if (errno != ENOENT) + log_debug("Failed to forward syslog message: %m"); } static void forward_syslog_raw(Server *s, int priority, const char *buffer, struct ucred *ucred, struct timeval *tv) {