On Thu, Oct 20, 2011 at 3:52 PM, Matt Pavlovich <mattr...@gmail.com> wrote:
> +1  Tracing just headers is very handy
>

Just turn of body then
showBody=false

http://camel.apache.org/tracer

> On Oct 20, 2011, at 9:28 AM, Daniel Kulp wrote:
>
>> On Thursday, October 20, 2011 3:07:20 PM Claus Ibsen wrote:
>>> On Thu, Oct 20, 2011 at 2:59 PM, Mond Raymond <mondraym...@gmail.com> 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.
>>>
>>> But yeah maybe the maxChars default should be 10000 or something.
>>
>> Just an FYI:  CXF uses 100K for the limit by default.
>>
>>> People can then use -1 or 0 for no limit.
>>> Fell free to create a JIRA. And also work on a patch :)
>>
>> I would say -1 for no limit and 0 for no body.  (just log headers)   That
>> seems a little more intuitive to me, but that's my opinion.
>>
>> Dan
>>
>>
>>
>>>
>>>> Thoughts?
>>>>
>>>> Cheers
>>>>
>>>> Ray
>>>>
>>>> --
>>>> View this message in context:
>>>> http://camel.465427.n5.nabble.com/tracing-large-messages-tp4921360p4921
>>>> 360.html Sent from the Camel - Users mailing list archive at Nabble.com.
>> --
>> Daniel Kulp
>> dk...@apache.org
>> http://dankulp.com/blog
>> Talend - http://www.talend.com
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to