You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael Hogue (JIRA)" <ji...@apache.org> on 2017/09/12 20:31:00 UTC
[jira] [Assigned] (NIFI-3510) log when ControllerService is ENABLED
[ https://issues.apache.org/jira/browse/NIFI-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Hogue reassigned NIFI-3510:
-----------------------------------
Assignee: Michael Hogue
> 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)