[
https://issues.apache.org/jira/browse/NIFI-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166389#comment-16166389
]
ASF GitHub Bot commented on NIFI-3510:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/nifi/pull/2151
> log when ControllerService is ENABLED
> -------------------------------------
>
> Key: NIFI-3510
> URL: https://issues.apache.org/jira/browse/NIFI-3510
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 0.7.1, 1.1.1
> Reporter: Brandon DeVries
> Assignee: Michael Hogue
> Priority: Trivial
>
> We currently have logging for when we begin "enabling" a controller service,
> but none for when it has actually been "enabled". I suggest adding a line
> like
> {code}
> LOG.debug("Successfully Enabled " + this);
> {code}
> to StandardControllerServiceNode.enable()...
> 0.x:
> {code}
> if (shouldEnable) {
> heartbeater.heartbeat();
> LOG.debug("Successfully Enabled " + this);
> } else {...
> {code}
> https://github.com/apache/nifi/blob/0.x/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceNode.java#L313-L315
> 1.x:
> {code}
> ...
> }
> else{
> LOG.debug("Successfully Enabled " + this);
> }
> {code}
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceNode.java#L357
> [~mosermw] [~jskora]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)