def begin_work_queue(self): logutils.configure_logger_to_log_to_file(_log, self.queue_log_path(), self.host.filesystem) _log.info("CAUTION: %s will discard all local changes in \"%s\"" % (self.name, self._tool.scm().checkout_root)) if self._options.confirm: response = self._tool.user.prompt("Are you sure? Type \"yes\" to continue: ") if (response != "yes"): _log.error("User declined.") sys.exit(1) _log.info("Running WebKit %s." % self.name) self._tool.status_server.update_status(self.name, "Starting Queue")
def _begin_logging(self): _queue_log_path = self._delegate.queue_log_path() # We are using logging.getLogger("webkitpy") instead of _log since we want to capture all messages logged from webkitpy modules. self._log_handler = logutils.configure_logger_to_log_to_file( logging.getLogger("webkitpy"), _queue_log_path, Host().filesystem ) self._queue_log = self._output_tee.add_log(_queue_log_path) self._work_log = None
def _begin_logging(self): _queue_log_path = self._delegate.queue_log_path() # We are using logging.getLogger("webkitpy") instead of _log since we want to capture all messages logged from webkitpy modules. self._log_handler = logutils.configure_logger_to_log_to_file( logging.getLogger("webkitpy"), _queue_log_path, Host().filesystem) self._queue_log = self._output_tee.add_log(_queue_log_path) self._work_log = None