+1 sensible
Den 20. okt. 2011 15:29 skrev "Daniel Kulp" <[email protected]> følgende:

> On Thursday, October 20, 2011 3:07:20 PM Claus Ibsen wrote:
> > 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.
> >
> > 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
> [email protected]
> http://dankulp.com/blog
> Talend - http://www.talend.com
>

Reply via email to