Skip to content

Commit

Permalink
change logger format for journalctl
Browse files Browse the repository at this point in the history
  • Loading branch information
psmsmets committed Jan 8, 2024
1 parent 9a39af7 commit 8d511f5
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 8d511f5

Please sign in to comment.