Skip to content

Commit 554b604

Browse files
authored
Update datadog_lambda/tracing.py
1 parent 97ae9f8 commit 554b604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def inject_correlation_ids():
698698
handler.setFormatter(
699699
logging.Formatter(
700700
"[%(levelname)s]\t%(asctime)s.%(msecs)dZ\t%(aws_request_id)s\t"
701-
"\t%(message)s\n",
701+
"[dd.trace_id=%(dd.trace_id)s dd.span_id=%(dd.span_id)s]\t%(message)s\n",
702702
"%Y-%m-%dT%H:%M:%S",
703703
)
704704
)

0 commit comments

Comments
 (0)