mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-06-24 10:56:30 +00:00
Downgrade add-on API access logging to debug (#992)
resolves home-assistant/hassio#865
This commit is contained in:
parent
2ae93ae7b1
commit
c13a33bf71
@ -35,7 +35,7 @@ class APIProxy(CoreSysAttributes):
|
|||||||
elif not addon.access_homeassistant_api:
|
elif not addon.access_homeassistant_api:
|
||||||
_LOGGER.warning("Not permitted API access: %s", addon.slug)
|
_LOGGER.warning("Not permitted API access: %s", addon.slug)
|
||||||
else:
|
else:
|
||||||
_LOGGER.info("%s access from %s", request.path, addon.slug)
|
_LOGGER.debug("%s access from %s", request.path, addon.slug)
|
||||||
return
|
return
|
||||||
|
|
||||||
raise HTTPUnauthorized()
|
raise HTTPUnauthorized()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user