You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/19 18:36:47 UTC

[jira] [Resolved] (CAMEL-3996) Tracer - Should only log message body if not causing side effects with streams, files etc.

     [ https://issues.apache.org/jira/browse/CAMEL-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3996.
--------------------------------

    Resolution: Fixed

> 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