If you take a look at the LoggingOutInterceptor[1] and LoggingInInterceptor[2] 
you can it is hardcoded. So you may need to write your own logging interceptor 
or it.

[1]https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java
[2]https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 11, 2015 at 8:17:27 PM, Frankiboy (mail.to.fra...@gmail.com) wrote:
>  
> 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.properties, log4j.rootLogger=info, console, can i change that
> on the fly ?
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> > wsdlURL="WEB-INF/bankconnect.wsdl" >
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/LoggingOutInterceptor-only-info-mode-the-smartest-way-tp5764009.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to