diff --git a/tools/third_party/pywebsocket3/pywebsocket3/request_handler.py b/tools/third_party/pywebsocket3/pywebsocket3/request_handler.py index 9d89b47c69b7ed..e02e2ccf28f6e4 100644 --- a/tools/third_party/pywebsocket3/pywebsocket3/request_handler.py +++ b/tools/third_party/pywebsocket3/pywebsocket3/request_handler.py @@ -219,6 +219,7 @@ def parse_request(self): self._logger.info('Request basic authentication') return False + whole_path = self.path host, port, resource = http_header_util.parse_uri(self.path) if resource is None: self._logger.info('Invalid URI: %r', self.path) @@ -247,7 +248,7 @@ def parse_request(self): # Fallback to default http handler for request paths for which # we don't have request handlers. if not self._options.dispatcher.get_handler_suite(self.path): - self._logger.info('No handler for resource: %r', self.path) + self._logger.info('No handler for resource: %r', whole_path) self._logger.info('Fallback to CGIHTTPRequestHandler') return True except dispatch.DispatchException as e: diff --git a/tools/wptrunner/wptrunner/browsers/base.py b/tools/wptrunner/wptrunner/browsers/base.py index 3826231ebcd639..fee8895ef3a060 100644 --- a/tools/wptrunner/wptrunner/browsers/base.py +++ b/tools/wptrunner/wptrunner/browsers/base.py @@ -359,7 +359,7 @@ def _run_server(self, group_metadata: GroupMetadata, **kwargs: Any) -> None: env=self.env, storeOutput=False) - self.logger.debug("Starting WebDriver: %s" % ' '.join(cmd)) + self.logger.info("Starting WebDriver: %s" % ' '.join(cmd)) try: self._proc.run() except OSError as e: @@ -378,13 +378,12 @@ def _run_server(self, group_metadata: GroupMetadata, **kwargs: Any) -> None: server_process=self._proc, ) except Exception: - self.logger.error( - "WebDriver was not accessible " - f"within the timeout:\n{traceback.format_exc()}") + self.logger.error(f"WebDriver was not accessible within {self.init_timeout} seconds.") + self.logger.error(traceback.format_exc()) raise finally: self._output_handler.start(group_metadata=group_metadata, **kwargs) - self.logger.debug("_run complete") + self.logger.info("Webdriver started successfully.") def stop(self, force: bool = False) -> bool: self.logger.debug("Stopping WebDriver")