From f6d635997c0077cd6c897a15698313dd0405755f Mon Sep 17 00:00:00 2001 From: Omar Richardson Date: Tue, 24 Nov 2020 10:03:16 +0100 Subject: [PATCH] Changed logging call --- jupyterhub/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/utils.py b/jupyterhub/utils.py index e4ec0944..bb66eacf 100644 --- a/jupyterhub/utils.py +++ b/jupyterhub/utils.py @@ -410,7 +410,7 @@ def needs_scope(scope): if check_scope(self, scope, parsed_scopes, **s_kwargs): return func(self, *args, **kwargs) else: - self.log.warning( + app_log.warning( "Not authorizing access to {}. Requires scope {}, not derived from scopes {}".format( self.request.path, scope, ", ".join(self.scopes) )