aws-step-functions-data-science-sdk-python icon indicating copy to clipboard operation
aws-step-functions-data-science-sdk-python copied to clipboard

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

Open hjp709394 opened this issue 1 year ago • 0 comments

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

hjp709394 avatar May 07 '23 20:05 hjp709394