DaanHoogland commented on a change in pull request #3743: only update 
powerstate if sure it is the latest
URL: https://github.com/apache/cloudstack/pull/3743#discussion_r366875044
 
 

 ##########
 File path: 
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachinePowerStateSyncImpl.java
 ##########
 @@ -130,23 +136,34 @@ private void processReport(long hostId, Map<Long, 
VirtualMachine.PowerState> tra
                     }
                 }
 
-                if (s_logger.isDebugEnabled())
-                    s_logger.debug("Detected missing VM. host: " + hostId + ", 
vm id: " + instance.getId() +
-                            ", power state: PowerReportMissing, last state 
update: " + vmStateUpdateTime.getTime());
+                if (s_logger.isInfoEnabled()) {
+                    s_logger.info(
+                            String.format("Detected missing VM. host: %l, vm 
id: %l(%s), power state: %s, last state update: %l"
 
 Review comment:
   yes, i know, fixed in #3806

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to