From 5fdb5d2ce5c808dd9adcb45c30093e3968b9b3d7 Mon Sep 17 00:00:00 2001 From: Kyle Verhoog Date: Wed, 27 Sep 2023 13:14:45 -0400 Subject: [PATCH 1/2] Add python injection noisy logs section --- .../en/tracing/trace_collection/library_injection_local.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/tracing/trace_collection/library_injection_local.md b/content/en/tracing/trace_collection/library_injection_local.md index ad07b07b71dea..1c9b9cbf58a51 100644 --- a/content/en/tracing/trace_collection/library_injection_local.md +++ b/content/en/tracing/trace_collection/library_injection_local.md @@ -208,6 +208,11 @@ If the application pod fails to start, run `kubectl logs --all-containe #### Python installation issues +##### Noisy library logs + +In Python versions less than `v1.20.3` Python injection logs are output to stderr. Upgrade to `v1.20.3` or above in which the logs are suppressed by default. The logs can be opted back in by setting the environment variable `DD_TRACE_DEBUG=1`. + + ##### Incompatible Python version The library injection mechanism for Python only supports injecting the Python library in Python v3.7+. From 1429867fb29e113889c3e5c234349362c58d02c5 Mon Sep 17 00:00:00 2001 From: Jen Gilbert Date: Wed, 4 Oct 2023 11:32:58 -0500 Subject: [PATCH 2/2] Minor tweaks for style --- content/en/tracing/trace_collection/library_injection_local.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/tracing/trace_collection/library_injection_local.md b/content/en/tracing/trace_collection/library_injection_local.md index 238c38f1020ae..ec589c20d20c5 100644 --- a/content/en/tracing/trace_collection/library_injection_local.md +++ b/content/en/tracing/trace_collection/library_injection_local.md @@ -210,7 +210,7 @@ If the application pod fails to start, run `kubectl logs --all-containe ##### Noisy library logs -In Python versions less than `v1.20.3` Python injection logs are output to stderr. Upgrade to `v1.20.3` or above in which the logs are suppressed by default. The logs can be opted back in by setting the environment variable `DD_TRACE_DEBUG=1`. +In Python `< 1.20.3`, Python injection logs output to `stderr`. Upgrade to `1.20.3` or above to suppress the logs by default. The logs can be enabled by setting the environment variable `DD_TRACE_DEBUG` to `1`. ##### Incompatible Python version