From: Kern Sibbald Date: Sat, 24 Oct 2009 09:26:01 +0000 (+0200) Subject: Make all ABORT and ERROR_EXIT msgs go to syslog X-Git-Tag: Release-5.0.0~281^2~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b03fc8b9a7071dd7654473a86bb12505f301566;p=bacula%2Fbacula Make all ABORT and ERROR_EXIT msgs go to syslog --- diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index 6cb762d874..e96078bd3b 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -638,6 +638,7 @@ void dispatch_message(JCR *jcr, int type, utime_t mtime, char *msg) fputs(dt, stdout); fputs(msg, stdout); /* print this here to INSURE that it is printed */ fflush(stdout); + syslog(LOG_DAEMON|LOG_ERR, "%s", msg); }