From 99ee4e8a427c3b267415d56096973fbf2fe07d72 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Thu, 8 Jun 2023 09:39:06 +0200 Subject: [PATCH] Set httpx log level to warning (#94217) Set log level of httpx to warning --- homeassistant/bootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index 7e5aa853f12..6a667884962 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -391,6 +391,7 @@ def async_enable_logging( logging.getLogger("requests").setLevel(logging.WARNING) logging.getLogger("urllib3").setLevel(logging.WARNING) logging.getLogger("aiohttp.access").setLevel(logging.WARNING) + logging.getLogger("httpx").setLevel(logging.WARNING) sys.excepthook = lambda *args: logging.getLogger(None).exception( "Uncaught exception", exc_info=args # type: ignore[arg-type]