How to remove SimpleXMLRPCServer Request logs 29 / 11 / 2006 This is a simple example intended to show how to remove log messages printed on stderr for each request. 1 2 3 4 5 6 7 8 9 10 import SimpleXMLRPCServer class NoLogHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler): def log_request(self, code='-', size='-'): pass server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8888), NoLogHandler) object = MyObject() server.register_instance(object) server.serve_forever()