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

Step Functions Data Science SDK for building machine learning (ML) workflows and pipelines on AWS
Apache License 2.0
285 stars 87 forks source link

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

Open hjp709394 opened 1 year ago

hjp709394 commented 1 year ago

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