mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user