aws / aws/aws-step-functions-data-science-sdk-python

stepfunctions package side effect of changing application's root logger logging level to ERROR

Open
#193 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
299
Forks
84
PR merge metrics
No merged PRs in 30d

Description

stepfunctions packages resets the root logger's logging level. And it will mess up application's logging level setting when importing the stepfunctions package.

Here is where the logging level is reset:
https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/src/stepfunctions/__init__.py#L23

### Reproduction Steps

config your logger before import stepfunctions. And then observed the logging level is changed after import stepfunctions.

---

This is :bug: Bug Report

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.