-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
Currently in order for customers to log request/response headers/body, etc, they need to set their logging level to DEBUG .
However, They do not have any control over which things should be logged and what should not.
This means that if for example a customer wants to upload 2 GBs of data and set the logger to debug, it would print the entire request body (i.e the data) which would overwhelm the console and would be of no real use to the customer.
Reference code:
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/policies.py#L201-#L217
We need to allow the customer to specify what they wish to log.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.