You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2023/01/12 18:38:52 UTC

[GitHub] [nifi] ChrisSamo632 commented on a diff in pull request #6712: NIFI-10870 Wrapped debug logger statements with if statements in the …

ChrisSamo632 commented on code in PR #6712:
URL: https://github.com/apache/nifi/pull/6712#discussion_r1068486611


##########
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/AbstractPutElasticsearch.java:
##########
@@ -165,7 +165,7 @@ void logElasticsearchDocumentErrors(final IndexOperationResponse response) throw
 
             if (logErrors) {
                 getLogger().error(output);
-            } else {
+            } else if (getLogger().isDebugEnabled()) {

Review Comment:
   Ah, yeah, forgot to follow up on that form my original comment (https://github.com/apache/nifi/pull/6712#pullrequestreview-1192230945), good catch



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org