Преглед на файлове

AMBARI-19066. Add more logging around status command report processing on server side (magyari_sandor)

Sandor Magyari преди 8 години
родител
ревизия
51c6ef9e15
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java

+ 1 - 1
ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java

@@ -45,9 +45,9 @@ public class AgentRequests {
 
   public void setExecutionDetailsRequest(String host, String component, String requestExecutionCmd) {
     if (StringUtils.isNotBlank(requestExecutionCmd)) {
-      LOG.debug("Setting need for exec command to " + requestExecutionCmd + " for " + component);
       Map<String, Boolean> perHostRequiresExecCmdDetails = getPerHostRequiresExecCmdDetails(host);
       if (Boolean.TRUE.toString().toUpperCase().equals(requestExecutionCmd.toUpperCase())) {
+        LOG.info("Setting need for exec command to " + requestExecutionCmd + " for " + component);
         perHostRequiresExecCmdDetails.put(component, Boolean.TRUE);
       } else {
         perHostRequiresExecCmdDetails.put(component, Boolean.FALSE);