diff --git a/beetsplug/_utils/musicbrainz.py b/beetsplug/_utils/musicbrainz.py index bb278b954..57201e909 100644 --- a/beetsplug/_utils/musicbrainz.py +++ b/beetsplug/_utils/musicbrainz.py @@ -31,7 +31,7 @@ if TYPE_CHECKING: from .._typing import JSONDict -log = logging.getLogger(__name__) +log = logging.getLogger("beets") LUCENE_SPECIAL_CHAR_PAT = re.compile(r'([-+&|!(){}[\]^"~*?:\\/])') diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index 30126f370..9496e9a78 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -30,7 +30,7 @@ from typing import TYPE_CHECKING, ClassVar import beets import beets.ui -from beets import dbcore, logging +from beets import dbcore from beets.library import Item from beets.plugins import BeetsPlugin from beets.util import as_string, bluelet @@ -39,8 +39,6 @@ from beetsplug._utils import vfs if TYPE_CHECKING: from beets.dbcore.query import Query -log = logging.getLogger(__name__) - try: from . import gstplayer