mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Changed logging call
This commit is contained in:
@@ -410,7 +410,7 @@ def needs_scope(scope):
|
|||||||
if check_scope(self, scope, parsed_scopes, **s_kwargs):
|
if check_scope(self, scope, parsed_scopes, **s_kwargs):
|
||||||
return func(self, *args, **kwargs)
|
return func(self, *args, **kwargs)
|
||||||
else:
|
else:
|
||||||
self.log.warning(
|
app_log.warning(
|
||||||
"Not authorizing access to {}. Requires scope {}, not derived from scopes {}".format(
|
"Not authorizing access to {}. Requires scope {}, not derived from scopes {}".format(
|
||||||
self.request.path, scope, ", ".join(self.scopes)
|
self.request.path, scope, ", ".join(self.scopes)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user