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
--

Reply via email to