Skip to content

Commit eea6c44

Browse files
committed
NOTSET default
1 parent ec72d13 commit eea6c44

File tree

1 file changed

+1
-2
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/_configuration

1 file changed

+1
-2
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ def _get_id_generator() -> str:
144144
return environ.get(OTEL_PYTHON_ID_GENERATOR, _DEFAULT_ID_GENERATOR)
145145

146146
def _get_log_level() -> int:
147-
#TODO: Refactor to include env var check
148-
return _OTEL_LOG_LEVEL_BY_NAME.get(environ.get(OTEL_LOG_LEVEL, "notset").lower().strip(), logging.INFO)
147+
return _OTEL_LOG_LEVEL_BY_NAME.get(environ.get(OTEL_LOG_LEVEL, "notset").lower().strip(), logging.NOTSET)
149148

150149

151150
def _get_exporter_entry_point(

0 commit comments

Comments
 (0)