apupier commented on code in PR #23300:
URL: https://github.com/apache/camel/pull/23300#discussion_r3259803637


##########
core/camel-core-processor/src/main/java/org/apache/camel/processor/LogProcessor.java:
##########
@@ -77,7 +77,9 @@ public boolean process(Exchange exchange, AsyncCallback 
callback) {
                 if (listeners != null && !listeners.isEmpty()) {
                     msg = fireListeners(exchange, msg);
                 }
-                logger.doLog(msg);
+                if (msg != null) {
+                    logger.doLog(msg);

Review Comment:
   this is changing the initial behaviour. Instead of loggign one line with no 
content apart from the time/loggername information, there won't be any more log 
which will be silently ignored.
   
   I proposed https://github.com/apache/camel/pull/23299



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to