From: Kern S. <ke...@us...> - 2010-02-18 11:10:18
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula". The branch, master has been updated via 8191aa3e4f47fe14ea68e637ec9b0ebf80b68223 (commit) via de0ac71105a7cde8c31b3484e9862027b5a813a1 (commit) from aa073d7b0cb02c1f51ffdc9f493f6d51483b771c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8191aa3e4f47fe14ea68e637ec9b0ebf80b68223 Author: Kern Sibbald <ke...@si...> Date: Thu Feb 18 12:08:30 2010 +0100 Tweak debug commit de0ac71105a7cde8c31b3484e9862027b5a813a1 Author: Kern Sibbald <ke...@si...> Date: Thu Feb 18 10:41:52 2010 +0100 Tweak SD debug code ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/stored/askdir.c b/bacula/src/stored/askdir.c index e3a3394..38605b0 100644 --- a/bacula/src/stored/askdir.c +++ b/bacula/src/stored/askdir.c @@ -342,7 +342,7 @@ bool dir_update_volume_info(DCR *dcr, bool label, bool update_LastWritten) /* Lock during Volume update */ P(vol_info_mutex); - Dmsg1(100, "Update cat VolFiles=%d\n", dev->file); + Dmsg1(100, "Update cat VolBytes=%lld\n", vol->VolCatBytes); /* Just labeled or relabeled the tape */ if (label) { bstrncpy(vol->VolCatStatus, "Append", sizeof(vol->VolCatStatus)); diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 6ad3f9c..ab65753 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -275,7 +275,8 @@ read_volume: * we need to position to the end of the volume, since we are * just now putting it into append mode. */ - Dmsg0(200, "Device previously written, moving to end of data\n"); + Dmsg1(100, "Device previously written, moving to end of data. Expect %lld bytes\n", + dev->VolCatInfo.VolCatBytes); Jmsg(jcr, M_INFO, 0, _("Volume \"%s\" previously written, moving to end of data.\n"), VolumeName); hooks/post-receive -- Bacula |