Skip to content

Commit

Permalink
Add more consistent way to retrieve the fully formatted log message s…
Browse files Browse the repository at this point in the history
…tring
  • Loading branch information
xente committed Mar 27, 2024
1 parent 26e3933 commit c827f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loki_logger_handler/formatters/logger_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self):

def format(self, record):
formatted = {
"message": record.msg % record.args,
"message": record.getMessage(),
"timestamp": record.created,
"process": record.process,
"thread": record.thread,
Expand Down

0 comments on commit c827f1c

Please sign in to comment.