Azure / Azure/azure-storage-python

StorageClient shouldn't log request\response by default

Offen
#516 13 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @zezha-msft Auf GitHub ansehen
investigating
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?
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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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