diff --git a/content/en/logs/log_collection/java.md b/content/en/logs/log_collection/java.md index 914502da97083..72db31ccae2c1 100644 --- a/content/en/logs/log_collection/java.md +++ b/content/en/logs/log_collection/java.md @@ -241,6 +241,7 @@ writer.field.dd.env = {context: dd.env} {{< /tabs >}} #### Inject trace IDs into your logs +
dd.logs.injection=true
as a system property, or through the environment variable DD_LOGS_INJECTION=true
. Full configuration details can be found on the Java tracer configuration page.