Azure / Azure/azure-storage-python
Provide a solution to turn off error logging
- 主要言語
- Python
- スター
- 343
- フォーク
- 243
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Which service(blob, file, queue) does this issue concern?
blob
### Which version of the SDK was used? Please provide the output of `pip freeze`.
the sdk integrated in latest azure cli
### What problem was encountered?
the following code always writes a message to stderr in azure cli. need a way to disable it as it pollutes the cli output for legitimate cases.
https://github.com/Azure/azure-storage-python/blob/master/azure-storage-common/azure/storage/common/storageclient.py#L440
### Have you found a mitigation/solution?
no
https://github.com/Azure/azure-cli/issues/16700
コントリビューションガイド
調査の方向性
azure/storage/common/storageclient.py の 440 行目付近から始め、関連する Azure CLI issue #16700 を確認します。Azure CLI で stderr メッセージを再現し、その後、SDK がこのロギングを無効化する方法を提供できるかを判断します。そのオプションを使用したときに、正当な CLI 出力が汚染されなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- cloud
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100