Skip to content

Commit

Permalink
Update logger_loguru.py to include milliseconds (#1149)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
julia-tadej-wttech and mergify[bot] authored May 22, 2024
1 parent 8b79e6c commit ac28232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newrelic/hooks/logger_loguru.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _nr_log_forwarder(message_instance):
try:
time = record.get("time", None)
if time:
time = int(time.timestamp())
time = int(time.timestamp()*1000)
record_log_event(message, level_name, time, attributes=attrs)
except Exception:
pass
Expand Down

0 comments on commit ac28232

Please sign in to comment.