Skip to content

Commit

Permalink
debug log rather than info
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Dec 9, 2024
1 parent 8d370b5 commit 86c0d5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion asab/web/auth/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def _try_auto_install(self):
web_container = web_service.WebContainer

self.install(web_container)
L.info("WebContainer authorization installed automatically.")
L.debug("WebContainer authorization wrapper will be installed automatically.")


def _get_id_token_claims(bearer_token: str, auth_server_public_key):
Expand Down
2 changes: 1 addition & 1 deletion asab/web/tenant/providers/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _read_tenants_from_config(self):
self.Tenants.add(tenant_id)

if len(self.Tenants) > 0:
L.info("Static tenants loaded from config.")
L.debug("Static tenants loaded from config.")
self.App.PubSub.publish("Tenants.change!")

def get_tenants(self) -> typing.Set[str]:
Expand Down
2 changes: 1 addition & 1 deletion asab/web/tenant/providers/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ async def _update_tenants(self, message_type=None):

new_tenants = set(external_tenants)
if self.Tenants != new_tenants:
L.info("Tenants from URL updated.", struct_data={"url": self.TenantUrl})
L.debug("Tenants from URL updated.", struct_data={"url": self.TenantUrl})
self.Tenants = new_tenants
self.App.PubSub.publish("Tenants.change!")
2 changes: 1 addition & 1 deletion asab/web/tenant/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _try_auto_install(self):
web_container = web_service.WebContainer

self.install(web_container)
L.info("WebContainer tenant context wrapper will be installed automatically.")
L.debug("WebContainer tenant wrapper will be installed automatically.")


async def _set_up_tenant_web_wrapper(self, aiohttp_app: aiohttp.web.Application):
Expand Down

0 comments on commit 86c0d5c

Please sign in to comment.