From 6b27f008f7f5c042307983777a2a1fa1964b0aa2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 23 Aug 2024 17:57:14 -0400 Subject: [PATCH] remove debug messages --- bbot/core/helpers/web/client.py | 2 +- bbot/core/helpers/web/engine.py | 1 - bbot/core/helpers/web/web.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bbot/core/helpers/web/client.py b/bbot/core/helpers/web/client.py index 9cbc418a6b..c09a0e4856 100644 --- a/bbot/core/helpers/web/client.py +++ b/bbot/core/helpers/web/client.py @@ -72,7 +72,7 @@ def __init__(self, *args, **kwargs): proxies = self._web_config.get("http_proxy", None) kwargs["proxies"] = proxies - log.critical(f"Creating httpx.AsyncClient({args}, {kwargs})") + log.verbose(f"Creating httpx.AsyncClient({args}, {kwargs})") super().__init__(*args, **kwargs) if not self._persist_cookies: self._cookies = DummyCookies() diff --git a/bbot/core/helpers/web/engine.py b/bbot/core/helpers/web/engine.py index 7ec79e925a..60e7038aa9 100644 --- a/bbot/core/helpers/web/engine.py +++ b/bbot/core/helpers/web/engine.py @@ -44,7 +44,6 @@ def AsyncClient(self, *args, **kwargs): try: return self.web_clients[retries] except KeyError: - log.critical("CREATING CLIENT") from .client import BBOTAsyncClient client = BBOTAsyncClient.from_config(self.config, self.target, *args, **kwargs) diff --git a/bbot/core/helpers/web/web.py b/bbot/core/helpers/web/web.py index 15afb93d14..6f7f1b5781 100644 --- a/bbot/core/helpers/web/web.py +++ b/bbot/core/helpers/web/web.py @@ -71,7 +71,6 @@ def AsyncClient(self, *args, **kwargs): try: return self.web_clients[retries] except KeyError: - log.critical("CREATING CLIENT") from .client import BBOTAsyncClient client = BBOTAsyncClient.from_config(self.config, self.target, *args, persist_cookies=False, **kwargs)