[
https://issues.apache.org/jira/browse/NIFI-13266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-13266:
------------------------------------
Fix Version/s: 2.0.0-M4
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Remove any use of string concatenation in logging statements
> ------------------------------------------------------------
>
> Key: NIFI-13266
> URL: https://issues.apache.org/jira/browse/NIFI-13266
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Major
> Fix For: 2.0.0-M4
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There are performance gains to be had when using string interpolation instead
> of string concatenation hence any use of concatenation should be replaced
> with parameters. See [Are concatenating strings in a Java logger is best or
> bad
> practice?|https://www.linkedin.com/pulse/concatenating-strings-java-logger-best-bad-practice-jamsheer-t]
> for more details.
> The only concatenation which should be used is when a line exceeds the 200
> length limit set in Checkstyle.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)