Skip to content

Commit

Permalink
Send to stderr instead
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Nov 24, 2023
1 parent c635e1d commit 998fd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jcvi/apps/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_logger(name: str, level: int = logging.DEBUG):
logger = logging.getLogger(name)
if logger.hasHandlers():
logger.handlers.clear()
logger.addHandler(RichHandler())
logger.addHandler(RichHandler(console=Console(stderr=True)))
logger.propagate = False
logger.setLevel(level)
return logger
Expand Down

0 comments on commit 998fd96

Please sign in to comment.