Hello

I'm using a route where i send à get request to a url


<roue id="rt">
<from uri="direct:start"/>

        <setHeader headerName="Exchange.HTTP_METHOD">
                        <constant>GET</constant>
        </setHeader>

<to uri="https://localhost:9091/clients"; />
</route>

I'm wondering of it's possible to have logs like in tomcat or apache logs :


2016-06-14 13:15:03,045: INFO -Request sent: GET
https://localhost:9091/clients
2016-06-14 13:20:08,123: INFO -Response received: status 200 - size 375 -
response time 14507


I've tried MDC logging support, then Tracer and loger components but they do
differently.


Is there any way to have such custumized logs ?



Many thanks





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-logging-tp5784095.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to