lburgazzoli commented on a change in pull request #6311: URL: https://github.com/apache/camel/pull/6311#discussion_r732963648
########## File path: components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/CouchDbChangesetTracker.java ########## @@ -74,7 +73,10 @@ public void run() { JsonObject doc = feed.getDoc(); Exchange exchange = consumer.createExchange(lastSequence, feed.getId(), doc, feed.isDeleted()); - LOG.trace("Created exchange [exchange={}, _id={}, seq={}", exchange, feed.getId(), lastSequence); + + if (LOG.isTraceEnabled()) { Review comment: > @lburgazzoli sorry, I merged the code before I saw your comment. > no worries, my comment is after the merge :) > But, answering to it: yes. IIRC, this would cause an array to be instantiated. Yep, correct -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org