From f28928c27ee89526d7881400b74946a3124a4bbb Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 5 Jul 2012 08:48:46 +0200 Subject: [PATCH] Tweak debug --- bacula/src/stored/askdir.c | 2 +- bacula/src/stored/reserve.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/askdir.c b/bacula/src/stored/askdir.c index c78034da4b..7a3a88d8c8 100644 --- a/bacula/src/stored/askdir.c +++ b/bacula/src/stored/askdir.c @@ -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()); diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index a40be1607a..43ec71d1fe 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -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 { -- 2.39.5