[
https://issues.apache.org/jira/browse/NIFI-16606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153159#comment-18153159
]
ASF subversion and git services commented on NIFI-16606:
--------------------------------------------------------
Commit 319954ea02425700e4770820d90bb0894c331dcf in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=319954ea024 ]
NIFI-16606 Refactored multiline logging statements to eliminate string
concatenation (#11943)
- Converted all multiline concatenated strings log statements to text block
log statements
Signed-off-by: David Handermann <[email protected]>
> Refactor multiline logging statements to eliminate string concatenation
> -----------------------------------------------------------------------
>
> Key: NIFI-16606
> URL: https://issues.apache.org/jira/browse/NIFI-16606
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Throughout the Apache NiFi codebase, there are parameterized logging
> statements that use string concatenation to split long message templates
> across multiple lines to comply with Checkstyle's 200-character line-length
> limit.
> In applicable cases, the longer portions of the message can be extracted into
> named constants, allowing the logging statements to be simplified without
> exceeding the line-length limit.
> This improves readability and eliminates unnecessary string concatenation
> when constructing logging message templates.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)