From a6c8f7caa8aa85ba6f9e174ad8b37472a1799028 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 23 2020 10:14:08 +0000 Subject: Change the logger name to be "pagure_auth" This logger is documented in pagure 5.11 where it will be used for more code (auth related). It makes sense for the pagure_dist_git auth module to leverage that logger instead of creating its own. Signed-off-by: Pierre-Yves Chibon --- diff --git a/dist_git_auth.py b/dist_git_auth.py index 04678fd..6dd4a68 100644 --- a/dist_git_auth.py +++ b/dist_git_auth.py @@ -38,7 +38,7 @@ from pagure.lib.git import is_forced_push from pagure.lib.git_auth import GitAuthHelper, _read_file from pagure.utils import is_repo_committer -_log = logging.getLogger(__name__) +_log = logging.getLogger("pagure_auth") class DistGitAuth(GitAuthHelper):