Skip to content
Snippets Groups Projects
Commit 73f2a87a authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Provide a name for the loggers

parent abcdf07e
Branches
Tags
No related merge requests found
Pipeline #177757 failed
......@@ -186,7 +186,7 @@ def main() -> int:
args = arg_parser.parse_args()
if args.verbose:
logging.getLogger().setLevel(logging.DEBUG)
logging.getLogger(__name__).setLevel(logging.DEBUG)
if not args.files:
if args.list:
......
......@@ -14,7 +14,7 @@ from libmat2 import harmless, video, web, archive
# No need to logging messages, should something go wrong,
# the testsuite _will_ fail.
logger = logging.getLogger()
logger = logging.getLogger(__name__)
logger.setLevel(logging.FATAL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment