Skip to content

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

Open
@hjp709394

Description

@hjp709394

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions