Hi

If you mean the message history and stack trace it logs by default?
Then you cannot really customize that. You can turn it off, and then
use on exception / error handler and have a little route where you
build that message you wanna log.

Though we could add some interface for being able to customize the out
of the box a bit easier. So you can impl that interface and do your
own code.

You can configure a custom CamelLogger however but it only have
callbacks on info / debug etc. It does not influence the logging
message how its built.



On Tue, Jul 14, 2015 at 10:46 AM, Marco Crivellaro
<marco.cr...@gmail.com> wrote:
> Hi,
> I am using Camel 2.15.3-SNAPSHOT
> How do I customise the Log Format of default error handler?
> I would like to output the endpoint uri, exchange id, error message and
> stack trace only
>
>
> thanks a lot,
> Marco
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-customized-Log-Format-of-DefaultErrorHandler-tp5769271.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to