Remove a couple every-request debug statements

logging all scopes every request and for every user model retrieval gets noisy
This commit is contained in:
Min RK
2021-08-24 09:44:23 +02:00
parent dd7f035158
commit e4dbc22cdf
2 changed files with 0 additions and 7 deletions

View File

@@ -425,7 +425,6 @@ class BaseHandler(RequestHandler):
def _resolve_roles_and_scopes(self):
self.expanded_scopes = set()
app_log.debug("Loading and parsing scopes")
if self.current_user:
orm_token = self.get_token()
if orm_token:
@@ -433,7 +432,6 @@ class BaseHandler(RequestHandler):
else:
self.expanded_scopes = scopes.get_scopes_for(self.current_user)
self.parsed_scopes = scopes.parse_scopes(self.expanded_scopes)
app_log.debug("Found scopes [%s]", ",".join(self.expanded_scopes))
@functools.lru_cache()
def get_scope_filter(self, req_scope):