Skip to content

Commit

Permalink
Update the body type in the log
Browse files Browse the repository at this point in the history
  • Loading branch information
GanymedeNil committed Jun 12, 2023
1 parent 92bfd08 commit a49fed8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def _translate(self, record: logging.LogRecord) -> LogRecord:
trace_flags=span_context.trace_flags,
severity_text=record.levelname,
severity_number=severity_number,
body=record.getMessage(),
body=record.msg,
resource=self._logger.resource,
attributes=attributes,
)
Expand Down

0 comments on commit a49fed8

Please sign in to comment.