Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hjp709394 opened this issue May 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hjp709394
Copy link

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 Report

@hjp709394 hjp709394 added the bug Something isn't working label May 7, 2023
@hjp709394 hjp709394 changed the title logging level side effects stepfunctions package side effect of changing application's root logger logging level to ERROR May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant