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-7.0.0~2598^2~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c24393b9489164881ff3031fd2d04b26d52b8d6d;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); }