From b27d5198bd6cb3936a67853fea8bf66989968d2d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 6 Jun 2020 16:18:45 +0000 Subject: [PATCH] Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream) - Legacy-Id: 17910 --- patch/fix-jwkest-jwt-loggin.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patch/fix-jwkest-jwt-loggin.patch diff --git a/patch/fix-jwkest-jwt-loggin.patch b/patch/fix-jwkest-jwt-loggin.patch new file mode 100644 index 000000000..0356f1de4 --- /dev/null +++ b/patch/fix-jwkest-jwt-loggin.patch @@ -0,0 +1,12 @@ +--- jwkest/jwt.py.orig 2020-06-06 17:58:07.609708595 +0200 ++++ jwkest/jwt.py 2020-06-06 17:58:20.734088027 +0200 +@@ -82,7 +82,7 @@ + else: + headers = {'alg': 'none'} + +- logging.debug('JWT header: {}'.format(headers)) ++ logger.debug('JWT header: {}'.format(headers)) + + if not parts: + return ".".join([a.decode() for a in self.b64part]) +