cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to turn off LoggingOutInterceptor with log4j?
Date Wed, 25 Jan 2012 19:33:19 GMT
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
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Mime
View raw message