Skip to content

Commit 1954ff3

Browse files
author
Paul Angus
committed
move power sync messages to debug
1 parent 9ae4362 commit 1954ff3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

engine/orchestration/src/main/java/com/cloud/vm/VirtualMachinePowerStateSyncImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private void processReport(long hostId, Map<Long, VirtualMachine.PowerState> tra
8080

8181
if (_instanceDao.updatePowerState(entry.getKey(), hostId, entry.getValue(), DateUtil.currentGMTTime())) {
8282
if (s_logger.isInfoEnabled()) {
83-
s_logger.info("VM state report is updated. host: " + hostId + ", vm id: " + entry.getKey() + ", power state: " + entry.getValue());
83+
s_logger.debug("VM state report is updated. host: " + hostId + ", vm id: " + entry.getKey() + ", power state: " + entry.getValue());
8484
}
8585

8686
_messageBus.publish(null, VirtualMachineManager.Topics.VM_POWER_STATE, PublishScope.GLOBAL, entry.getKey());
@@ -139,7 +139,7 @@ private void processReport(long hostId, Map<Long, VirtualMachine.PowerState> tra
139139

140140
if (s_logger.isInfoEnabled()) {
141141
String lastTime = new SimpleDateFormat("yyyy/MM/dd'T'HH:mm:ss.SSS'Z'").format(vmStateUpdateTime);
142-
s_logger.info(
142+
s_logger.debug(
143143
String.format("Detected missing VM. host: %d, vm id: %d(%s), power state: %s, last state update: %s"
144144
, hostId
145145
, instance.getId()
@@ -189,7 +189,7 @@ public Map<Long, VirtualMachine.PowerState> convertVmStateReport(Map<String, Hos
189189
if (vm != null) {
190190
map.put(vm.getId(), entry.getValue().getState());
191191
} else {
192-
s_logger.info("Unable to find matched VM in CloudStack DB. name: " + entry.getKey());
192+
s_logger.debug("Unable to find matched VM in CloudStack DB. name: " + entry.getKey());
193193
}
194194
}
195195

0 commit comments

Comments
 (0)