### 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
Activity
[-]Disable error logging [/-][+]Provide a solution to turn off error logging [/+]frankShih commentedon Apr 9, 2021
really need this !!!
xiafu-msft commentedon Apr 15, 2021
You can take this as reference to disable logger named azure.storage https://github.com/Azure/azure-storage-python/blob/master/tests/testcase.py#L99
remember to get a logger instance like this before disable it https://github.com/Azure/azure-storage-python/blob/master/tests/testcase.py#L84
Let me know if it doesn’t work.