From 83db81c80d1d72091e3244f3cef5bae99778a639 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 23 2020 10:51:38 +0000 Subject: Actually use the logger to log things Otherwise, surprisingly, we cannot find anything in the logs when we actually try to see/check the logs server side... Signed-off-by: Pierre-Yves Chibon --- diff --git a/dist_git_auth.py b/dist_git_auth.py index 6dd4a68..850afe2 100644 --- a/dist_git_auth.py +++ b/dist_git_auth.py @@ -118,12 +118,14 @@ class DistGitAuth(GitAuthHelper): """ Function to print information. Is a function to help with the test suite. """ + _log.info(msg) print(msg) def debug(self, msg): """ Function to print if in debug mode. Function to help in test. """ + _log.debug(msg) if self.is_debug: self.info(msg)