According to the Official OpenTelemetry Website , if I set OTEL_EXPORTER_OTLP_ENDPOINT env, it will apply to all OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, OTEL_EXPORTER_OTLP_METRICS_ENDPOINT, OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, but this crate seems to apply to only OTEL_EXPORTER_OTLP_TRACES_ENDPOINT as shown on startup, I wanna export Axum logs to OpenTelemetry Collector endpoint, which is then exported to Loki.
I could do this in Actix Web using opentelemetry_appender_log crate, I wonder how to achieve this in Axum?

According to the Official OpenTelemetry Website , if I set
OTEL_EXPORTER_OTLP_ENDPOINTenv, it will apply to allOTEL_EXPORTER_OTLP_TRACES_ENDPOINT,OTEL_EXPORTER_OTLP_METRICS_ENDPOINT,OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, but this crate seems to apply to only OTEL_EXPORTER_OTLP_TRACES_ENDPOINT as shown on startup, I wanna export Axum logs to OpenTelemetry Collector endpoint, which is then exported to Loki.I could do this in Actix Web using

opentelemetry_appender_logcrate, I wonder how to achieve this in Axum?