Hi There is already options to configure this http://camel.apache.org/tracer
There is a maxChars option. Also from Camel 2.8 onwards we will by default not show streams. See the wiki page if you want to force showing streams. On Thu, Oct 20, 2011 at 2:59 PM, Mond Raymond <[email protected]> wrote: > I had a user today that had camel blow up because he was sending a message > body of 96Mb and had the tracer on. By default the tracer outputs bodies so > he ran out of memory ;-) > > Quite an easy fix to configure a formatter and turn off the printing of > message bodies... but it made me think, shouldn't there be a limit (10k, > 100k or whatever) which is the default beyond which bodies will not be > printed, unless configured explicitly ... this would prevent users shooting > off their feet. > > Thoughts? > > Cheers > > Ray > > -- > View this message in context: > http://camel.465427.n5.nabble.com/tracing-large-messages-tp4921360p4921360.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
