cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8855) Improve Error Message for Host Alert State
Date Wed, 14 Mar 2018 12:06:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398458#comment-16398458
] 

ASF GitHub Bot commented on CLOUDSTACK-8855:
--------------------------------------------

rafaelweingartner commented on a change in pull request #2387: CLOUDSTACK-8855 Improve Error
Message for Host Alert State and reconnect host API.
URL: https://github.com/apache/cloudstack/pull/2387#discussion_r174436501
 
 

 ##########
 File path: engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java
 ##########
 @@ -122,7 +122,6 @@
  **/
 public class AgentManagerImpl extends ManagerBase implements AgentManager, HandlerFactory,
Configurable {
     protected static final Logger s_logger = Logger.getLogger(AgentManagerImpl.class);
-    protected static final Logger status_logger = Logger.getLogger(Status.class);
 
 Review comment:
   Yes, I did. It is a change in the logging class that is used on the left side of the log
message in the log file. People normally lock down their log parse in the message per se,
but for sure if they are considering the class as well, this can break things.
   I changed this for a simple reason. It is misleading. It will show as if the “Status”
class is generating that message, which is not true. I see no reason for this type of code.
   
   I can revert this change, but my position is that it does not make sense. It is not used
consistently. The same type of message is being logged also with the other logger.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Improve Error Message for Host Alert State
> ------------------------------------------
>
>                 Key: CLOUDSTACK-8855
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8855
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>            Reporter: Bharat Kumar
>            Assignee: Bharat Kumar
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message