mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
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 (cherry picked from commit 606afe341dce93b7efe88d0989029848947f25aa) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
f7778194f0
commit
72e55029ef
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user