Fix logging and constructor for XML-RPC server.