Firestore overrides logging level #6430
Labels
api: firestore
Issues related to the Firestore API.
status: investigating
The issue is under investigation, which is determined to be non-trivial.
type: question
Request for information or clarification. Not an issue.
When I include firestore in my application it resets/undoes/breaks my logging. I
expect that importing firestore will not affect the root logger's level.
I've tried this in several different versions of python 2 & 3, pip and pipenv all
with the same results.
Steps to Reproduce
Create virtualenv:
Activate it:
source ./venv/bin/activate
Upgrade pip & setuptools so everything is the latest version.
pip3 install --upgrade pip setuptools
Install google-cloud-firestore:
pip3 install google-cloud-firestore
Debug Script name
test.py
Execute script, and get no logging output:
Comment out
from google.cloud import firestore
, and get logging output:Uncomment
from google.cloud import firestore
and uncommentlogger.setLevel(logging.DEBUG)
,and get logging output
The text was updated successfully, but these errors were encountered: