Changed logging call

This commit is contained in:
Omar Richardson
2020-11-24 10:03:16 +01:00
parent d7d27ad97a
commit f6d635997c

View File

@@ -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)
)