Skip to content

Commit

Permalink
Merge pull request #20 from psmsmets/format_logger
Browse files Browse the repository at this point in the history
change logger format for journalctl
  • Loading branch information
psmsmets authored Jan 8, 2024
2 parents 9a39af7 + 8d511f5 commit a87a7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/school_bell/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def init_logger(
# log to stdout
streamHandler = logging.StreamHandler(sys.stdout)
streamHandler.setFormatter(logging.Formatter(
# "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
"%(levelname)s: %(message)s"
# "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
))
logger.addHandler(streamHandler)

Expand Down

0 comments on commit a87a7b6

Please sign in to comment.