From 7165e1eba548cce55314e86f147192239e522e28 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 4 Jul 2019 17:18:59 +0300 Subject: Add: log token, for debugging --- api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api.py b/api.py index 1415be9..173c053 100755 --- a/api.py +++ b/api.py @@ -108,7 +108,8 @@ class AccessChecker: logging.error('Authorization header does not contain a Bearer token') return None - logging.debug('Got an access token from Authorization header') + logging.debug( + 'Got an access token from Authorization header: %s', token_text) return token_text -- cgit v1.2.1