def log_message(self, format, *args): if self.verbose: CGIHTTPRequestHandler.log_message(self, format, *args)