Azure / Azure/azure-storage-python

Provide a solution to turn off error logging

Aperta
#687 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
343
Fork
243
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, python
Ambito
cloud
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.