Open
Description
What happened?
OTEL logs the raw bearer token to stdout when an error happens on a processor during authentication. The log processor returns an Authentication error due to a misconfiguration, and in-return OTEL logs the the bearer token to stdout.
OpenTelemetry API Version (i.e version of opentelemetry
crate)
"0.29.1"
OpenTelemetry SDK Version (i.e version of opentelemetry_sdk
crate)
"0.29.0"
What Exporter(s) are you seeing the problem on?
OTLP
Relevant log output
ERROR opentelemetry_sdk: name="BatchLogProcessor.ExportError" error="Operation failed: export error: Status { code: Unauthenticated, message: \"scheme or token does not match: Bearer <redacted-token>\", metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\"} }, source: None }"