Tracer - Should only log message body if not causing side effects with streams, 
files etc.
------------------------------------------------------------------------------------------

                 Key: CAMEL-3996
                 URL: https://issues.apache.org/jira/browse/CAMEL-3996
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0


The tracer should only log message body content if its safe to do so. For 
streams it should just log the content is stream based. You can enable it to 
debug stream bodies, by setting a property on the camel context.
- Exchange.LOG_DEBUG_BODY_STREAMS

The tracer should use the same log as the log component, which is 
MessageHelper.extractBodyForLogging

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to