Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.16.1
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
As described on this post on the mailing list (http://camel.465427.n5.nabble.com/DefaultExchangeHolder-marshal-produces-a-lot-of-warnings-CAMEL-8415-td5773927.html) DefaultExchangeHolder.marshal() logs NULL header values to WARN (since Camel 2.16).
Some standard components such as camel-activemq, however, write a lot of headers being mostly NULL such as JMSDestination, JMSCorrelationID, etc.
Hence, I would suggest to change the log level from WARN to INFO in line https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java#L358.