chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
361f9cb
)
journal: don't complain if the syslog forwarder socket doesn't exist
author
Lennart Poettering
<lennart@poettering.net>
Wed, 18 Jul 2012 14:23:06 +0000
(16:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 18 Jul 2012 14:23:06 +0000
(16:23 +0200)
src/journal/journald.c
patch
|
blob
|
history
diff --git
a/src/journal/journald.c
b/src/journal/journald.c
index 17aac8877b778f663669617e16097bc6d4456aa2..18db31c3bc5218c89a60feff488901adc1f3732d 100644
(file)
--- 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;
}
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) {
}
static void forward_syslog_raw(Server *s, int priority, const char *buffer, struct ucred *ucred, struct timeval *tv) {