opentelemetry-go icon indicating copy to clipboard operation
opentelemetry-go copied to clipboard

Support the OTEL_LOG_LEVEL environment variable

Open MrAlias opened this issue 4 years ago • 3 comments

Add support for the OTEL_LOG_LEVEL environment variable as defined in the specification.

Blocked by https://github.com/open-telemetry/opentelemetry-go/issues/1068

Part of https://github.com/open-telemetry/opentelemetry-go/issues/1698

MrAlias avatar Oct 19 '21 18:10 MrAlias

Also blocked by https://github.com/open-telemetry/opentelemetry-specification/issues/2039. The logging levels we implement need to be compatible with other langauges.

MrAlias avatar Oct 19 '21 18:10 MrAlias

Cuurently is there any way to change log level for Golang?

mehulparmariitr avatar May 16 '24 13:05 mehulparmariitr

Cuurently is there any way to change log level for Golang?

Register a logr.Logger with the desired logging level.

MrAlias avatar May 30 '24 18:05 MrAlias