Azure / Azure/azure-storage-python

StorageClient shouldn't log request\response by default

Open
#516 13 comments 0 reactions 1 assignee Claimed by @zezha-msft View on GitHub
investigating
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?
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.