From: Michal Rakowski Date: Thu, 15 Jul 2021 13:13:56 +0000 (+0200) Subject: Add message about Device being used for read/write X-Git-Tag: Release-11.3.2~432 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9716816017eeddf61334400af08978bc13707876;p=thirdparty%2Fbacula.git Add message about Device being used for read/write This log was removed at some point but needs to be restored to not break compatibility with BWeb. --- diff --git a/bacula/src/dird/msgchan.c b/bacula/src/dird/msgchan.c index 2c70e6ddc..275081098 100644 --- a/bacula/src/dird/msgchan.c +++ b/bacula/src/dird/msgchan.c @@ -328,6 +328,7 @@ bool start_storage_daemon_job(JCR *jcr, alist *rstore, alist *wstore, bool wait, ok = false; } if (ok) { + Jmsg(jcr, M_INFO, 0, _("Using Device \"%s\" to read.\n"), device_name.c_str()); pm_strcpy(jcr->read_dev, device_name.c_str()); } } @@ -366,6 +367,7 @@ bool start_storage_daemon_job(JCR *jcr, alist *rstore, alist *wstore, bool wait, ok = false; } if (ok) { + Jmsg(jcr, M_INFO, 0, _("Using Device \"%s\" to write.\n"), device_name.c_str()); pm_strcpy(jcr->write_dev, device_name.c_str()); } }