From 72e55029ef934a7866c7b5945dfef72ceecd2e0f Mon Sep 17 00:00:00 2001 From: Milamber Date: Mon, 22 Jun 2015 21:44:03 +0000 Subject: [PATCH] Improve debug message when the scheduler prepare to snapshot (volume 'id' and add volume name) Signed-off-by: Milamber Signed-off-by: Rohit Yadav This closes #676 (cherry picked from commit 606afe341dce93b7efe88d0989029848947f25aa) Signed-off-by: Rohit Yadav --- .../src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java index 2fedeefd352..4ce2bba498e 100644 --- a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java @@ -254,7 +254,8 @@ public class SnapshotSchedulerImpl extends ManagerBase implements SnapshotSchedu 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);