You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/02/18 14:52:22 UTC

[GitHub] [cloudstack] rafaelweingartner commented on pull request #4575: Enhance log messages with host name

rafaelweingartner commented on pull request #4575:
URL: https://github.com/apache/cloudstack/pull/4575#issuecomment-781397751


   What about adding all of them? I mean, ID, Name, and UUID. This would for sure help debugging. It would have the ID of the DB already there, and the UUID of the element that is used in the API. Moreover, the name to make the log entry more friendly. 
   
   Something such as:
   ```
   s_logger.debug(String.format("Create ClusteredDirectAgentAttache for host [id=%s, uuid=%s, name=%s] ",  host.getId(), host.getUuid(), host.getName()));
   ```


----------------------------------------------------------------
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:
users@infra.apache.org