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

Mike Thomsen updated NIFI-13421:
--------------------------------
    Fix Version/s: 2.0.0-M4
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Replace String.format in logging statements where only formatting strings 
> (%s) with the use of logging parameters ({})
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-13421
>                 URL: https://issues.apache.org/jira/browse/NIFI-13421
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Major
>             Fix For: 2.0.0-M4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are documented efficiencies of using logging parameters instead of 
> String.format (one example is the following 
> [article|https://medium.com/@mohanakrishnakavali/logging-efficiency-in-java-string-concatenation-vs-string-format-efa02055ddae]).
> Changes should be made where String.format is only used to format strings 
> (i.e. %s) but not where there are custom formatting be used (e.g. for decimal 
> numbers (%f), platform-specific line separator (%n), etc).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to