Improve debug message when the scheduler prepare to snapshot (volume 'id' and add volume name) Signed-off-by: Milamber <milamber@apache.org> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #676
diff --git a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java index 2fedeef..4ce2bba 100644 --- a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
@@ -254,7 +254,8 @@ if (s_logger.isDebugEnabled()) { final Date scheduledTimestamp = snapshotToBeExecuted.getScheduledTimestamp(); displayTime = DateUtil.displayDateInTimezone(DateUtil.GMT_TIMEZONE, scheduledTimestamp); - s_logger.debug("Scheduling 1 snapshot for volume " + volumeId + " for schedule id: " + snapshotToBeExecuted.getId() + " at " + displayTime); + s_logger.debug("Scheduling 1 snapshot for volume id " + volumeId + " (volume name:" + + volume.getName() + ") for schedule id: " + snapshotToBeExecuted.getId() + " at " + displayTime); } tmpSnapshotScheduleVO = _snapshotScheduleDao.acquireInLockTable(snapshotScheId);