From 6b03fc8b9a7071dd7654473a86bb12505f301566 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