camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Execution Exception
Date Thu, 09 Jul 2015 17:39:32 GMT
Hi

You can turn off logging the message history with

errorHandler(defaultErrorHandler().logExhaustedMessageHistory(false));

See bottom of
http://camel.apache.org/message-history.html

But we could likely add some easy configuration to keep part of the
message history with the route stack-trace etc but avoid logging the
message body.

You can also set the max body length to a low value, its 10000 by
default. See more here
http://camel.apache.org/how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.html

On Thu, Jul 9, 2015 at 6:26 PM, MC <2320790@gmail.com> wrote:
> Thanks Claus. Please see the attached screenshot.
> <http://camel.465427.n5.nabble.com/file/n5769064/Screen_Shot_2015-07-09_at_12.png>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Execution-Exception-Hiding-message-payload-details-tp5769004p5769064.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message