diff --git a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java index 364573076ef4..27f36d947473 100644 --- a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java +++ b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java @@ -86,7 +86,7 @@ public MapConverterCondition() { @ConditionalOnBean(OtelResourceAutoConfiguration.class) static class Resource {} - @ConditionalOnBean(OtlpLoggerExporterAutoConfiguration.class) + @ConditionalOnBean(OtlpLogRecordExporterAutoConfiguration.class) static class Logger {} @ConditionalOnBean(OtlpSpanExporterAutoConfiguration.class)