johentsch / ms3

A parser for annotated MuseScore 3 files.
https://ms3.readthedocs.io
GNU General Public License v3.0
41 stars 3 forks source link

ms3 logger overwrites default logger [BUG] #68

Closed apmcleod closed 1 year ago

apmcleod commented 1 year ago

Describe the bug Importing ms3 sets the logging level and it cannot be changed back somehow?

ms3 version 1.2.8

To Reproduce

$ python
> import logging
> logging.basicConfig(level=logging.DEBUG)
> logging.debug("test")  # Logs correctly

New session:

$ python
> import logging
> import ms3
> logging.basicConfig(level=logging.DEBUG)
> logging.debug("test")  # Nothing is printed
johentsch commented 1 year ago

Thanks for reporting, @apmcleod. I'm on it.

johentsch commented 1 year ago

fixed in v1.2.10. Could you please confirm, @apmcleod ?

apmcleod commented 1 year ago

Yes, it's fixed!