Skip to content

Commit

Permalink
Direct INFO level logs to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
TaekyungHeo committed Jul 23, 2024
1 parent f32acab commit bdf28da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/converter/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ def setup_logging(log_filename: str) -> None:
stream_handler.setLevel(logging.WARNING)
stream_handler.setFormatter(formatter)

stream_handler = logging.StreamHandler()
stream_handler.setLevel(logging.INFO)
stream_handler.setFormatter(formatter)

logging.basicConfig(level=logging.DEBUG, handlers=[file_handler, stream_handler])


Expand Down

0 comments on commit bdf28da

Please sign in to comment.