You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/09/14 14:48:00 UTC

[jira] [Resolved] (NIFI-3510) log when ControllerService is ENABLED

     [ https://issues.apache.org/jira/browse/NIFI-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-3510.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> 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
>             Fix For: 1.4.0
>
>
> 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)