Azure / Azure/azure-storage-python

Provide a solution to turn off error logging

Offen
#687 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
343
Forks
243
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, python
Bereich
cloud
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.