From 1b18a6fb57eaa68fca1b7d79a6572446dbfac94c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 23 2020 07:59:20 +0000 Subject: Fix the name of the dedicated auth log In the documentation and the default configuration this handler is named pagure_auth not pagure.auth, so let's be consistent with our documentation and default configuration and use the same name everywhere. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/internal/__init__.py b/pagure/internal/__init__.py index 5013e6a..96f1a81 100644 --- a/pagure/internal/__init__.py +++ b/pagure/internal/__init__.py @@ -37,7 +37,7 @@ from pagure.config import config as pagure_config # noqa: E402 _log = logging.getLogger(__name__) -_auth_log = logging.getLogger("pagure.auth") +_auth_log = logging.getLogger("pagure_auth") MERGE_OPTIONS = { diff --git a/pagure/ui/clone.py b/pagure/ui/clone.py index 33732a4..7a2c85b 100644 --- a/pagure/ui/clone.py +++ b/pagure/ui/clone.py @@ -32,7 +32,7 @@ from pagure.config import config as pagure_config from pagure.ui import UI_NS _log = logging.getLogger(__name__) -_auth_log = logging.getLogger("pagure.auth") +_auth_log = logging.getLogger("pagure_auth") def _get_remote_user(project):