You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/07/23 00:26:08 UTC

[GitHub] [nifi] exceptionfactory commented on a diff in pull request #6231: NIFI-10261: Ensure that when comparing Sensitive Parameters during fl…

exceptionfactory commented on code in PR #6231:
URL: https://github.com/apache/nifi/pull/6231#discussion_r928052954


##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/ServiceStateTransition.java:
##########
@@ -76,7 +76,7 @@ public boolean enable(final ControllerServiceReference controllerServiceReferenc
             }
 
             state = ControllerServiceState.ENABLED;
-            logger.debug("{} transitioned to ENABLED", controllerServiceNode);
+            logger.info("{} is now fully ENABLED", controllerServiceNode);

Review Comment:
   This change from `debug` to `info` results in two similar log lines at the `INFO` level:
   
   ```
   INFO [Timer-Driven Process Thread-4] o.a.n.c.service.ServiceStateTransition StandardControllerServiceNode[service=StandardHttpContextMap[id=01821002-31b4-1869-4f8e-0f3141d6c1c2], name=StandardHttpContextMap, active=true] is now fully ENABLED
   INFO [Timer-Driven Process Thread-4] o.a.n.c.s.StandardControllerServiceNode Successfully enabled StandardControllerServiceNode[service=StandardHttpContextMap[id=01821002-31b4-1869-4f8e-0f3141d6c1c2], name=StandardHttpContextMap, active=true]
   ```
   
   Although these logs come from different locations, they seem duplicative to a general user. Should the change to `info` be reverted, or should the other message level be changed?



-- 
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: issues-unsubscribe@nifi.apache.org

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