There was an error while loading. Please reload this page.
1 parent 97ae9f8 commit 554b604Copy full SHA for 554b604
datadog_lambda/tracing.py
@@ -698,7 +698,7 @@ def inject_correlation_ids():
698
handler.setFormatter(
699
logging.Formatter(
700
"[%(levelname)s]\t%(asctime)s.%(msecs)dZ\t%(aws_request_id)s\t"
701
- "\t%(message)s\n",
+ "[dd.trace_id=%(dd.trace_id)s dd.span_id=%(dd.span_id)s]\t%(message)s\n",
702
"%Y-%m-%dT%H:%M:%S",
703
)
704
0 commit comments