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 ----------------------------------------------------------