On Wednesday, January 25, 2012 6:55:41 PM KARR, DAVID wrote: > In my JAX-RS server, I have both the LoggingInInterceptor and > LoggingOutInterceptor enabled. I'd like to control whether these actually > log by controlling log4j settings, particularly at runtime. I tried adding > a logger in my log4j.xml with name > "org.apache.cxf.interceptor.LoggingOutInterceptor" and level = "off", but > that didn't appear to do anything.
What version of CXF are you using? This was changed in 2.5 to allow per- service control of the logging. See the very bottom of: http://cxf.apache.org/docs/25-migration-guide.html -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
