You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Josephes, Christopher" <cj...@ibsys.com> on 2008/09/15 17:30:45 UTC

Reducing logging output

I have a developer using CXF in a deployed web application, and I'm
seeing a lot of these messages in the standandard output logfile.

Sep 15, 2008 9:36:18 AM
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor handleMessage

It's appearing in the log about 3 times per second.

In the web application's log4j.xml file, I tried to increase the logging
level to WARN and directing it to a different logfile that is being
rotated through log4j.

    <logger name="org.apache.cxf.jaxrs.interceptor">
        <level value="warn"/>
        <appender-ref ref="LogFile"/>
    </logger>

But I'm still getting these messages in the log.

--
Chris Josephes
IBSYS
cjosephes@ibsys.com 

Re: Reducing logging output

Posted by Daniel Kulp <dk...@apache.org>.
By default, CXF uses java.util.logging logging, not log4j.   You would need to 
configure j.u.l or configure CXF to go through log4j:
http://www.techper.net/2008/01/30/configuring-cxf-logging-to-go-through-log4j/

Dan


On Monday 15 September 2008 11:30:45 am Josephes, Christopher wrote:
> I have a developer using CXF in a deployed web application, and I'm
> seeing a lot of these messages in the standandard output logfile.
>
> Sep 15, 2008 9:36:18 AM
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor handleMessage
>
> It's appearing in the log about 3 times per second.
>
> In the web application's log4j.xml file, I tried to increase the logging
> level to WARN and directing it to a different logfile that is being
> rotated through log4j.
>
>     <logger name="org.apache.cxf.jaxrs.interceptor">
>         <level value="warn"/>
>         <appender-ref ref="LogFile"/>
>     </logger>
>
> But I'm still getting these messages in the log.
>
> --
> Chris Josephes
> IBSYS
> cjosephes@ibsys.com



-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog