Azure / Azure/azure-storage-python

StorageClient shouldn't log request\response by default

Aperta
#516 13 commenti 0 reazioni 1 assegnatario Rivendicata da @zezha-msft Vedi su GitHub
investigating
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?
Common code

### Which version of the SDK was used? Please provide the output of `pip freeze`.
Latest

### What problem was encountered?
storageclient logs request\response data, including secrets, with INFO logger setting.
There are 2 problems with this:
1. Possible secrets leak
2. Unnecessary items in the logs, distracts users from the important part of the logs.

This information is not logged with INFO level with other Azure Python SDKs

### Have you found a mitigation/solution?

Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.