You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/11/24 19:33:11 UTC

[jira] [Updated] (NIFI-1216) NiFi framework spends resources formatting log messages for Processor Loggers even when log level disabled

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

Mark Payne updated NIFI-1216:
-----------------------------
    Attachment: 0001-NIFI-1216-Check-if-log-level-is-enabled-immediately-.patch

> NiFi framework spends resources formatting log messages for Processor Loggers even when log level disabled
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-1216
>                 URL: https://issues.apache.org/jira/browse/NIFI-1216
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.4.0
>
>         Attachments: 0001-NIFI-1216-Check-if-log-level-is-enabled-immediately-.patch
>
>
> Currently when we call getLogger().info(...) the log message is formatted, even if the log level is set to WARN or ERROR. This is fairly expensive and can be avoided.



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