You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Bryan Rosander (JIRA)" <ji...@apache.org> on 2016/09/30 15:25:21 UTC

[jira] [Commented] (MINIFI-25) Change Shutdown Hook to use a Logger

    [ https://issues.apache.org/jira/browse/MINIFI-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15536264#comment-15536264 ] 

Bryan Rosander commented on MINIFI-25:
--------------------------------------

It looks like we could modify the logback configuration to add a no-op shutdown hook and then extend their base shutdown hook to implement ours.  Then we could call super.stop() after our own shutdown logic to close out the logger.

Downside is that would couple us to logback implementation.

> Change Shutdown Hook to use a Logger
> ------------------------------------
>
>                 Key: MINIFI-25
>                 URL: https://issues.apache.org/jira/browse/MINIFI-25
>             Project: Apache NiFi MiNiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
>            Priority: Minor
>
> Currently ShutdownHook.java uses System.out.println() instead of a logger. This should be changed to use a proper logger.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)