Brandon DeVries created NIFI-3510:
-------------------------------------

             Summary: 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: 1.1.1, 0.7.1
            Reporter: Brandon DeVries
            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.3.15#6346)

Reply via email to