mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 11:38:21 +00:00
Set httpx log level to warning (#94217)
Set log level of httpx to warning
This commit is contained in:
parent
ac963a2b6e
commit
b508875f17
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user