]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak debug
authorKern Sibbald <kern@sibbald.com>
Thu, 5 Jul 2012 06:48:46 +0000 (08:48 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:52 +0000 (14:50 +0200)
bacula/src/stored/askdir.c
bacula/src/stored/reserve.c

index c78034da4b2940912f6ec7a4663a6f5c87960eeb..7a3a88d8c86e887173e36c89e95b1c9e88f8e832 100644 (file)
@@ -283,7 +283,7 @@ bool dir_find_next_appendable_volume(DCR *dcr)
           }
           bstrncpy(lastVolume, dcr->VolumeName, sizeof(lastVolume));
           if (dcr->can_i_write_volume()) {
-             Dmsg1(100, "Call reserve_volume. Vol=%s\n", dcr->VolumeName);
+             Dmsg1(100, "Call reserve_volume for write. Vol=%s\n", dcr->VolumeName);
              if (reserve_volume(dcr, dcr->VolumeName) == NULL) {
                 Dmsg2(100, "Could not reserve volume %s on %s\n", dcr->VolumeName,
                     dcr->dev->print_name());
index a40be1607ad68ec6498246f86bcab48726946de9..43ec71d1fe33a81964c953b3b3a8e283491d008c 100644 (file)
@@ -672,7 +672,7 @@ static int reserve_device(RCTX &rctx)
       Dmsg3(dbglvl, "Vol=%s num_writers=%d, have_vol=%d\n", 
          rctx.VolumeName, dcr->dev->num_writers, rctx.have_volume);
       if (rctx.have_volume) {
-         Dmsg0(dbglvl, "Call reserve_volume\n");
+         Dmsg0(dbglvl, "Call reserve_volume for append.\n");
          if (reserve_volume(dcr, rctx.VolumeName)) {
             Dmsg1(dbglvl, "Reserved vol=%s\n", rctx.VolumeName);
          } else {