Hi

Here is some links you can read as well.

You can use the log component
http://camel.apache.org/log

Or use an interceptor and send to a log endpoint
http://camel.apache.org/intercept

Or something a like the tracer etc
http://camel.apache.org/tracer

Or the event notification (a bit more coarse grained)
http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html




On Wed, Jul 4, 2012 at 7:11 PM, hairinwind <[email protected]> wrote:
> #1 I want to see the whole message in the log file or console, including
> headers, attachments and body.
>
> #2 I don't want the log pollute my routes, like this
> from(..).log(...).bean(...).log(...).to(...)
> Log is not the business logic of my routes.
>
> I already read the section of logEIP from camel web site but did not find
> what I want.
>
> Please help! thanks!
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/any-easy-way-to-log-the-whole-message-tp5715504.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.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to