> -----Original Message-----
> From: David Karlsen [mailto:[email protected]]
> Sent: Wednesday, January 25, 2012 11:03 AM
> To: [email protected]
> Subject: Re: How to turn off LoggingOutInterceptor with log4j?
> 
> AFAIK it logs to debug or info - so setting the level to error should
> work.

Setting it to "off" should have worked also.  Nevertheless, I tried setting it 
to "error".  Same result.  Still logging.  I even verified the level at runtime 
for "org.apache.cxf.interceptor.LoggingOutInterceptor", set to "ERROR".

> 2012/1/25 KARR, DAVID <[email protected]>:
> > 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.
> 
> 
> 
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to