Skip to content

Commit

Permalink
Always log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
shreve committed Jun 10, 2024
1 parent 2804051 commit 1a914dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mads/build/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def new_logger() -> BuildLogger:
fmtstr = "%(message)s"
handlers.append(RichHandler(console=console, show_level=False, show_path=False))
else:
handlers.append(logging.StreamHandler(sys.stdout))
handlers.append(logging.StreamHandler(sys.stderr))

fmt = logging.Formatter(fmt=fmtstr, datefmt="%H:%M:%S")

Expand Down

0 comments on commit 1a914dc

Please sign in to comment.