Write OpenTelemetry Logging to Standard Output


Write Open Telemetry Logging to Standard Out

From Open Telemetry’s documentation, to see the telemetry from your application directly on the standard output, set the following environment variable before launching your application:

OTEL_TRACES_EXPORTER=console

Alternatively, add the same setting as a JVM Flag:

otel.traces.exporter=console