Skip to content

Commit ef95da1

Browse files
committed
Update README
1 parent f470f31 commit ef95da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ If your Lambda function is triggered by API Gateway via [the non-proxy integrati
235235
If your Lambda function is deployed by the Serverless Framework, such a mapping template gets created by default.
236236

237237
## Log and Trace Correlations
238-
By default, the Datadog trace id gets automatically injected into the logs for correlation, if using `console` or a logging library supported for [automatic](https://docs.datadoghq.com/tracing/connect_logs_and_traces/?tab=nodejs#automatic-trace-id-injection) trace id injection.
238+
By default, the Datadog trace id gets automatically injected into the logs for correlation, if using the AWS provided `LambdaLoggerHandler`.
239239

240-
See instructions for [manual](https://docs.datadoghq.com/tracing/connect_logs_and_traces/?tab=nodejs#manual-trace-id-injection) trace id injection, if using other logging libraries. If you use a custom logger handler to log in json, you can manually inject the ids using the helper function `get_correlation_ids`.
240+
If you use a custom logger handler to log in json, you can manually inject the ids using the helper function `get_correlation_ids`.
241241

242242
Set the environment variable `DD_LOGS_INJECTION` to `false` to disable this feature.
243243

0 commit comments

Comments
 (0)