camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frankiboy <>
Subject LoggingOutInterceptor only info mode, the smartest way ?
Date Wed, 11 Mar 2015 12:09:41 GMT

I have a camel.xml where i log the request - response, i using cxf.

Works fine :-)

But what is the smartes way, if i  only want to show when im in info mode.

Can i handle this in my camel.xml, how to  do this smartest ?

in my programs im using org.apache.commons.logging.

I have a, log4j.rootLogger=info, console, can i change that
on the fly ?

	<bean id="wsIn" class="org.apache.cxf.interceptor.LoggingOutInterceptor">
		<constructor-arg value="target/write"/>
	<bean id="wsOut" class="org.apache.cxf.interceptor.LoggingOutInterceptor">
		<constructor-arg value="target/write"/>

<cxf:cxfEndpoint id="hubws" address="/CorporateService"
wsdlURL="WEB-INF/bankconnect.wsdl" >

			 <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> 
	         <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message