dylanljones / pyrekordbox

Inofficial Python package for interacting with the database and other files (XML, ANLZ, MySettings) of Pioneers Rekordbox DJ software
https://pyrekordbox.readthedocs.io/en/latest/
MIT License
181 stars 24 forks source link

Root logger set as NOSET in __init__.py causing trouble with user-defined logging solutions or other libraries #128

Open Ivansstyle opened 6 months ago

Ivansstyle commented 6 months ago

Describe the bug init.py file contains root logging setting, which sets it to NOSET, which causes issues with other libraries where logging level is not set but logger is used

To Reproduce Steps to reproduce the behavior: Use in combination in project with library like spotipy

The resulting error is: Unexpected logs and no control over logging overall

Expected behavior Library should not change the logging level of the logging root