sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900150826


##########
server/src/main/java/com/cloud/server/StatsCollector.java:
##########
@@ -1251,7 +1251,7 @@ protected void runInContext() {
                             metrics.clear();
                         }
                     } catch (Exception e) {
-                        logger.debug("Failed to get VM stats for host with ID: 
" + host.getId());
+                        logger.debug("Failed to get VM stats for host with ID: 
{}", host);

Review Comment:
   ```suggestion
                           logger.debug("Failed to get VM stats for host: {}", 
host);
   ```



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to