cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: how to use Apache Commons logging
Date Fri, 20 Aug 2010 17:17:58 GMT
Your best bet would be to implement an entire log adaptor.

Make a class like:

org.apache.cxf.common.logging.Log4jLogger

and then configure it as per:

http://cxf.apache.org/docs/debugging-and-logging.html

Trying to make just the interceptors log to some other mechanism is
going to require private implementations of the interceptors.

On Fri, Aug 20, 2010 at 10:41 AM, Nathaniel Auvil
<nathaniel.auvil@gmail.com> wrote:
> how can i configure the logging interceptor to use Commons logging like my
> application so i have control over the logging of the loggingInterceptor?
> Or, is there an implementation of the logging interceptor for Commons
> logging?  Looking at the source for the logging intercept, it is not trivial
> to port it to Commons logging...it was way more complex than i thought
> logging code would be.
>

Mime
View raw message