From 953835a4298288b4f030083d18bb4111e8ea719b Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Fri, 3 Oct 2025 10:25:20 +0200 Subject: [PATCH 1/2] edot-sdks/python: document OTEL_LOG_LEVEL in troubleshoot --- .../opentelemetry/edot-sdks/python/index.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md b/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md index c09b799c02..1b0db90edb 100644 --- a/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md +++ b/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md @@ -25,6 +25,24 @@ As a first step, review the [supported technologies](elastic-otel-python://refer Follow these recommended actions to make sure that EDOT Python is configured correctly. +### EDOT Logging level + +```{applies_to} +product: + edot_python: 1.9.0 +``` + +You can change the default verbosity of both EDOT Python and OpenTelemetry Python SDK code with `OTEL_LOG_LEVEL`, see [configuration](elastic-otel-python://reference/edot-python/configuration.md#differences-from-opentelemetry-python) for the possible values. + +### Log configuration + +```{applies_to} +product: + edot_python: 1.9.0 +``` + +EDOT Python would print its configuration at startup when `OTEL_LOG_LEVEL` is set to `info` or a more verbose logging level. + ### Debug and development modes Most frameworks support a debug mode. This mode is intended for non-production environments and provides detailed error messages and logging of potentially sensitive data. Turning on instrumentation in debug mode is not advised and might pose privacy and security issues in recording sensitive data. From d3442676056faaf7b82c07680784d897ad1763dd Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Fri, 3 Oct 2025 10:31:30 +0200 Subject: [PATCH 2/2] Update index.md --- troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md b/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md index 1b0db90edb..c3557a2fa5 100644 --- a/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md +++ b/troubleshoot/ingest/opentelemetry/edot-sdks/python/index.md @@ -29,7 +29,7 @@ Follow these recommended actions to make sure that EDOT Python is configured cor ```{applies_to} product: - edot_python: 1.9.0 + edot_python: ga 1.9.0 ``` You can change the default verbosity of both EDOT Python and OpenTelemetry Python SDK code with `OTEL_LOG_LEVEL`, see [configuration](elastic-otel-python://reference/edot-python/configuration.md#differences-from-opentelemetry-python) for the possible values. @@ -38,7 +38,7 @@ You can change the default verbosity of both EDOT Python and OpenTelemetry Pytho ```{applies_to} product: - edot_python: 1.9.0 + edot_python: ga 1.9.0 ``` EDOT Python would print its configuration at startup when `OTEL_LOG_LEVEL` is set to `info` or a more verbose logging level.