From 4f319eaa4fd81c9dd5cc7b3dc5563a5c2510c59b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 2 Apr 2022 17:28:51 +0200 Subject: [PATCH] policies/dummy: bump to info to always get message Signed-off-by: Jens Langhammer --- authentik/policies/dummy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/policies/dummy/models.py b/authentik/policies/dummy/models.py index a682d0cc2..4302c9c8d 100644 --- a/authentik/policies/dummy/models.py +++ b/authentik/policies/dummy/models.py @@ -36,7 +36,7 @@ class DummyPolicy(Policy): def passes(self, request: PolicyRequest) -> PolicyResult: """Wait random time then return result""" wait = SystemRandom().randrange(self.wait_min, self.wait_max) - LOGGER.debug("Policy waiting", policy=self, delay=wait) + LOGGER.info("Policy waiting", policy=self, delay=wait) sleep(wait) return PolicyResult(self.result, "dummy")