While we make it easy for users to contribute a SdkLoggerProvider (see #36545), we don't have full-fledged auto-configuration for OpenTelemetry logging. In this issue, should add auto-configuration for SdkLoggerProvider.

There are also appenders for Logback and Log4j2.

Comment From: making

Loki 3.0 now supports native OTLP ingestion. https://grafana.com/blog/2024/04/09/grafana-loki-3.0-release-all-the-new-features/

Isn't it a good time to support this feature?


opentelemetry-spring-boot-starter has logging auto configuration.

https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/instrumentation/logging

Comment From: scottfrederick

Closing in favor of #40961