logging.info() triggers basicConfig() #332
Labels
api: clouddebugger
Issues related to the Stackdriver Debugger API.
api: storage
Issues related to the googleapis/python-storage API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
When I use
download_as_string()
method or similar,logging.root
logger is being activated by callinglogging.info()
on linepython-storage/google/cloud/storage/blob.py
Line 926 in 63ff233
Environment details
3.8.6
20.2.4
google-cloud-storage
version:1.33.0
Steps to reproduce
logger.info("test")
(nothing should happen)logger.info("test")
one more timeHow to fix it
you need to use your own logger (e.g. using
logging.getLogger(__name__)
instead of root logger.The text was updated successfully, but these errors were encountered: