You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -326,8 +326,11 @@ def _init_logging(
326
326
set_event_logger_provider(event_logger_provider)
327
327
328
328
ifsetup_logging_handler:
329
-
warnings.deprecated(
330
-
"Setting the OTel Logging handler from the SDK and the `OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED` are deprecated. You should install the opentelemetry-instrumentation-logging"
329
+
warnings.warn(
330
+
"Setting the OTel Logging handler from the SDK and the "
331
+
"`OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED` are deprecated. "
332
+
"You should install the opentelemetry-instrumentation-logging",
0 commit comments