Azure / Azure/azure-storage-python

Provide a solution to turn off error logging

Open
#687 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
343
Forks
243
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start at azure/storage/common/storageclient.py around line 440 and review the related Azure CLI issue #16700. Reproduce the stderr message in the Azure CLI, then determine how the SDK can provide a way to disable this logging; done means legitimate CLI output is not polluted when that option is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.