From c24393b9489164881ff3031fd2d04b26d52b8d6d Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 24 Oct 2009 11:26:01 +0200 Subject: [PATCH] Make all ABORT and ERROR_EXIT msgs go to syslog --- bacula/src/lib/message.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.5