mirror of
https://github.com/home-assistant/core
synced 2024-10-05 22:48:04 +00:00
Set httpx log level to warning (#94217)
Set log level of httpx to warning
This commit is contained in:
parent
85a12c37ee
commit
99ee4e8a42
|
@ -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…
Reference in a new issue