-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The root logger has been used illegally. #751
Labels
bug
Something isn't working
Comments
Closing this out as I believe it has been resolved. |
@silentworks I checked with the latest version and it is not fixed. import logging
import supabase
logger = logging.getLogger(__name__)
print(logger.hasHandlers())
print(logger.handlers)
root_logger = logging.getLogger()
print(root_logger.handlers) % pip list | grep supabase
supabase 2.4.6
% python temp.py
True
[]
[<StreamHandler <stderr> (NOTSET)>] |
@oniatsu I'm getting completely different results to you with the latest 2.4.6 release. |
@silentworks I ran it again in a re-created venv environment and the results were the same as yours. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Describe the bug
The root logger has been used illegally.
The root logger is dirty just by importing the package.
The package should work without affecting the root logger.
To Reproduce
pip install supabase==2.4.1
code
result
Expected behavior
code
result
System information
The text was updated successfully, but these errors were encountered: