You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Ian Hunter <ia...@gmail.com> on 2012/02/11 21:52:28 UTC

Getting rid of debug

I have server for which I am overriding the XmlRpcServlet in order to
provide a custom PropertyHandlerMapping, to effect a singleton - this comes
from the docs somewhere.

However, I cant seem to override the default logging behaviour for this by
the following (from the FAQ)...

    protected PropertyHandlerMapping newPropertyHandlerMapping(URL url)
throws IOException, XmlRpcException {

        ...
        ....
        this.getXmlRpcServletServer().setErrorLogger(new
MyXmlRpcErrorLogger());

        return mapping;

    }

I've also tried to override 'XmlRpcServlet.log()'

I still get...

[19:58:56,237] [http-8088-8] - execute: ->
[19:58:56,259] [http-8088-8] - execute: Request performed successfully
[19:58:56,261] [http-8088-8] - execute: <-

I would like to remove this, and other options please?

Thanks
Ian Hunter