Skip to content

Commit

Permalink
fix: πŸ“ don't propagate base logs
Browse files Browse the repository at this point in the history
  • Loading branch information
melMass committed Jul 5, 2023
1 parent fee48ad commit 7fd99c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions log.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def mklog(name, level=base_log_level):
ch.setFormatter(Formatter())
logger.addHandler(ch)

# Disable log propagation
logger.propagate = False

return logger


Expand Down

0 comments on commit 7fd99c2

Please sign in to comment.