Downgrade add-on API access logging to debug (#992)

resolves home-assistant/hassio#865
This commit is contained in:
Stephen Beechen 2019-04-05 02:42:31 -07:00 committed by Pascal Vizeli
parent 2ae93ae7b1
commit c13a33bf71

View File

@ -35,7 +35,7 @@ class APIProxy(CoreSysAttributes):
elif not addon.access_homeassistant_api:
_LOGGER.warning("Not permitted API access: %s", addon.slug)
else:
_LOGGER.info("%s access from %s", request.path, addon.slug)
_LOGGER.debug("%s access from %s", request.path, addon.slug)
return
raise HTTPUnauthorized()