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

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

オープン
#193 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
299
フォーク
84
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

src/stepfunctions/__init__.py の23行目から始め、root logger を変更するパッケージのインポートパスを追ってください。stepfunctions をインポートする前にアプリケーションの logger を設定して問題を再現し、その後、インポートによってアプリケーションの logging level が変更されないことを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
cloud
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。