From 38d8aaf9b5f4ca3c1eccf6c29ce6270acade5579 Mon Sep 17 00:00:00 2001 From: Bohdan Turkynevych Date: Thu, 6 Jun 2024 21:53:58 -0400 Subject: [PATCH] fix: remove log duplication (#306) --- mtg/log/log.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mtg/log/log.py b/mtg/log/log.py index c9d376b..42e5663 100644 --- a/mtg/log/log.py +++ b/mtg/log/log.py @@ -20,6 +20,7 @@ def setup_logger(name=__name__, level=logging.INFO) -> logging.Logger: """ logger = logging.getLogger(name) logger.setLevel(level) + logger.propagate = False # create console handler and set level to debug handler = logging.StreamHandler()