policies/dummy: bump to info to always get message

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-04-02 17:28:51 +02:00
parent 86a8d00b3f
commit 4f319eaa4f
1 changed files with 1 additions and 1 deletions

View File

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