I have inherited some Java code that does some testing of our XMLRPC server. So far so good. Part of that code deals with stopping the server (a few repetitions of "check if server still there and if so send it command to shut down").
As the server is shutting down, some of these "is the server still there?" and/or "tell it to shut down" requests may fail in mid-operation causing the apache XMLRPC lib to write out some warning to stderr (e.g. "INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 127.0.0.1 failed to respond"
). These messages are completely irrelevant to us but cause our CI system to worry.
Is there a way to suppress such info messages (preferably programmatically so that we only suppress them when shutting down) in this Apache module?
The application includes commons-logging-1.1.jar in its classpath, so that might be what is used. But that still doesn't tell me how to do it programmatically.