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 variables before launching your application:

OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED=true