[
https://issues.apache.org/jira/browse/NIFI-10863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637469#comment-17637469
]
ASF subversion and git services commented on NIFI-10863:
--------------------------------------------------------
Commit 6a9cb9c10ca6dd2624d8e337c78eeb605e232178 in nifi's branch
refs/heads/main from Mike Thomsen
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6a9cb9c10c ]
NIFI-10863 Added conditional InvokeHTTP HTTP debug log
- Wrapping if statements prevent them from being called at all if debug logging
is disabled
This closes #6706
Signed-off-by: David Handermann <[email protected]>
> Wrap logger statements in logRequest/logResponse in InvokeHttp with if
> statements
> ---------------------------------------------------------------------------------
>
> Key: NIFI-10863
> URL: https://issues.apache.org/jira/browse/NIFI-10863
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Mike Thomsen
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> A small optimization to reduce object generation and calls to the debug
> logger.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)