Searched refs:log_handler (Results 1 – 5 of 5) sorted by relevance
37 def start(port, log_handler): argument50 args=(server_started, port, log_handler))58 def _run(server_started, port, log_handler): argument67 logging.getLogger().addHandler(log_handler)
130 for log_handler in logging.getLogger().handlers:131 log_handler.setFormatter(logging.Formatter(fmt=_LOGGING_FORMAT))
30 self.log_handler = MockLoggingHandler()31 self.logger.addHandler(self.log_handler)58 warning_messages = self.log_handler.messages['warning']
2442 log_handler = self.RunCommand(2444 warning_messages = log_handler.messages['warning']2469 log_handler = self.RunCommand('cp', [fpath, suri(bucket_uri)],2471 warning_messages = log_handler.messages['warning']
98 log_handler = GsutilStreamHandler()99 log_handler.setFormatter(logging.Formatter('%(message)s'))103 log.addHandler(log_handler)