]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add message about Device being used for read/write
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 15 Jul 2021 13:13:56 +0000 (15:13 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:03 +0000 (09:03 +0100)
This log was removed at some point but needs to be restored to not break
compatibility with BWeb.

bacula/src/dird/msgchan.c

index 2c70e6ddcc3f6c2e675eb65492f0c88fb94152d5..275081098ea132f02bb4d66a6544be4b044c6714 100644 (file)
@@ -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());
       }
    }