Skip to content

Commit

Permalink
fix: remove log duplication (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
tb0hdan authored Jun 7, 2024
1 parent c6afbed commit 38d8aaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mtg/log/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 38d8aaf

Please sign in to comment.