blob storage logging integration problem
See original GitHub issue- Package Name:
azure-storage-blob - Package Version: 12.5.0
- Operating System: OSX
- Python Version: 3.8.6
Describe the bug
Integration with the logging framework not fully working. Setting log level as pre docs does not work.
To Reproduce Steps to reproduce the behavior:
- use example from docs https://azuresdkdocs.blob.core.windows.net/$web/python/azure-storage-blob/12.6.0/index.html#logging
- set
WARNINGlog level, i.e. uselogger.setLevel(logging.WARNING)
Expected behavior The log should be squashed., instead still get the same log.
Additional context
In general I would expect any storage client to accept a log level parameter and let the client set the logger for me. But I see your approach is quite common and it is fair. However, I think because the actual logging happens in a different module, one has to get a logger for that module or for the whole azure module, which seems to me quite too much.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Enable and manage Azure Storage Analytics logs (classic)
Azure Storage Analytics provides logs for blobs, queues, and tables. ... The $logs container isn't integrated with Event Grid, ...
Read more >Troubleshoot Azure Blob Storage Log Collection
Make sure that the resources you created in the Collect Logs from Azure Blob Storage procedure were successfully created. Go to Resource groups,...
Read more >Ensure Azure storage account logging for blobs is enabled
Storage Logging happens server-side and allows details for both successful and failed requests to be recorded in the storage account. These logs allow...
Read more >Azure Blob Storage Input | Filebeat Reference [master] - Elastic
If any major error occurs which stops the main thread, the logs will be appropriately generated, describing said error. NOTE: Currently only JSON...
Read more >Azure functions log to blobstorage - Stack Overflow
I need to store the logs on blobstorage as txt file or similar. Is there a better integrated way to do it via...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

sorry for the late response because of the vacation! We will try to reproduce it and get back to you ASAP!
Well, it seems I cannot reproduce anymore. Most likely I messed up some versions I guess!
So sorry for the fuss. Thanks for having looked into it.