[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    Re: Handling Exceptions in XmlRpcServlet
From:       Alan Burlison <Alan.Burlison () sun ! com>
Date:       2008-05-29 21:38:04
Message-ID: 483F223C.2080804 () sun ! com
[Download RAW message or body]

Fredrik Rambris wrote:
> Hello!
> 
> We're writing an application which is reached via XmlRpcServlet. However
>  exceptions fills up our logs and I would like to just send the
> exceptions to the client and only log what I explicitly log with log4j.
> 
> How can I do that?

It's a bug in the library. 
https://issues.apache.org/jira/browse/XMLRPC-156.

As a workaround, you can disable the logging of the exceptions, put this 
in your log4j.properties:

log4j.logger.org.apache.xmlrpc.server.XmlRpcStreamServer=OFF

-- 
Alan Burlison
--
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic