From 9de0f01243989fa71a258d2dea6dbf2a22dbad35 Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 16 Jan 2016 09:31:31 +0100 Subject: [PATCH] Fix wrong logger name --- patacrep/songbook/__main__.py | 2 +- patacrep/tools/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patacrep/songbook/__main__.py b/patacrep/songbook/__main__.py index ed2364ff..daafc9f5 100644 --- a/patacrep/songbook/__main__.py +++ b/patacrep/songbook/__main__.py @@ -14,7 +14,7 @@ import patacrep.encoding # Logging configuration logging.basicConfig(level=logging.INFO) -LOGGER = logging.getLogger("patatools") +LOGGER = logging.getLogger() # pylint: disable=too-few-public-methods class ParseStepsAction(argparse.Action): diff --git a/patacrep/tools/__main__.py b/patacrep/tools/__main__.py index a1aa0515..d9202633 100644 --- a/patacrep/tools/__main__.py +++ b/patacrep/tools/__main__.py @@ -14,7 +14,7 @@ import patacrep # Logging configuration logging.basicConfig(level=logging.INFO) -LOGGER = logging.getLogger() +LOGGER = logging.getLogger("patatools") def _execlp(program, args): """Call :func:`os.execlp`, adding `program` as the first argument to itself."""