]> git.sur5r.net Git - bacula/bacula/commitdiff
Added extra logging to determine the exchange server in use
authorJames Harper <james.harper@bendigoit.com.au>
Mon, 4 May 2009 05:56:19 +0000 (05:56 +0000)
committerJames Harper <james.harper@bendigoit.com.au>
Mon, 4 May 2009 05:56:19 +0000 (05:56 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8790 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/filed/plugins/service_node.c

index 4309bc5a5ea282ee0a419c36c6c5f5d7ee9e3aea..03b89125b3f8e87dafb18d88bb582a0240cec26f 100644 (file)
@@ -48,6 +48,7 @@ bRC
 service_node_t::startBackupFile(exchange_fd_context_t *context, struct save_pkt *sp)
 {
    HRESULT result;
+   char aname[256];
 
    _DebugMessage(100, "startBackupNode_SERVICE state = %d\n", state);
    switch(state)
@@ -61,6 +62,8 @@ service_node_t::startBackupFile(exchange_fd_context_t *context, struct save_pkt
       // convert name to a wide string
 
       _DebugMessage(100, "Calling HrESEBackupPrepare\n");
+      wcstombs(aname, context->computer_name, 256);
+      _JobMessage(M_INFO, "Preparing Exchange Backup for %s\n", aname);
       result = HrESEBackupPrepare(context->computer_name, PLUGIN_PATH_PREFIX_SERVICE_W, &ibi_count, &ibi, &hccx);
       if (result != 0)
       {