From f562a9b333799c2889d316522a86b2cd661f02f8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Sep 2023 20:15:57 +0200 Subject: [PATCH] fix old logger mechanism remants --- moulinette/interfaces/api.py | 2 +- moulinette/interfaces/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index ac632ec0..9c17ca17 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -30,7 +30,7 @@ from moulinette.interfaces import ( ) from moulinette.utils import log -logger = log.getLogger("moulinette.interface.api") +logger = logging.getLogger("moulinette.interface.api") # API helpers ---------------------------------------------------------- diff --git a/moulinette/interfaces/cli.py b/moulinette/interfaces/cli.py index f1005558..010f3346 100644 --- a/moulinette/interfaces/cli.py +++ b/moulinette/interfaces/cli.py @@ -50,7 +50,7 @@ def monkey_get_action_name(argument): argparse._get_action_name = monkey_get_action_name -logger = log.getLogger("moulinette.cli") +logger = logging.getLogger("moulinette.cli") # CLI helpers ----------------------------------------------------------