From: Lennart Poettering Date: Wed, 18 Jul 2012 14:23:06 +0000 (+0200) Subject: journal: don't complain if the syslog forwarder socket doesn't exist X-Git-Tag: v187~23 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4ca86bbc25540acc322679b98c4f18a540c100ee;hp=361f9cbc7e6c7d3ac41892f5a5aebd1ef4049b95;p=elogind.git journal: don't complain if the syslog forwarder socket doesn't exist --- 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) {