Use logging from factory
MODIFY
plextraktsync/commands/clear_collections.py
plextraktsync/commands/clear_collections.py
import click
-from plextraktsync.factory import factory
-from plextraktsync.logging import logger
+from plextraktsync.factory import factory, logger
def clear_collections(confirm, dry_run):

MODIFY
plextraktsync/commands/info.py
plextraktsync/commands/info.py
from trakt import __version__ as TRAKT_API_VERSION
from plextraktsync.commands.plex_login import has_plex_token
-from plextraktsync.factory import factory
-from plextraktsync.logging import logger
+from plextraktsync.factory import factory, logger
from plextraktsync.path import cache_dir, config_dir, log_dir
from plextraktsync.version import version as get_version

MODIFY
plextraktsync/commands/watch.py
plextraktsync/commands/watch.py
from plextraktsync.decorators.cached_property import cached_property
from plextraktsync.events import (ActivityNotification, Error,
PlaySessionStateNotification, TimelineEntry)
-from plextraktsync.factory import factory
+from plextraktsync.factory import factory, logging
from plextraktsync.listener import WebSocketListener
-from plextraktsync.logging import logging
from plextraktsync.media import Media, MediaFactory
from plextraktsync.plex_api import PlexApi, PlexLibraryItem
from plextraktsync.trakt_api import TraktApi

MODIFY
plextraktsync/listener.py
plextraktsync/listener.py
from plexapi.server import PlexServer
from plextraktsync.events import Error, EventFactory
-from plextraktsync.logging import logging
+from plextraktsync.factory import logging
class EventDispatcher:

MODIFY
plextraktsync/plex_server.py
plextraktsync/plex_server.py
from plextraktsync.config import PLEX_PLATFORM
from plextraktsync.decorators.nocache import nocache
-from plextraktsync.factory import Factory
-from plextraktsync.logging import logging
+from plextraktsync.factory import Factory, logging
class PlexServerConnection:

MODIFY
plextraktsync/trakt_api.py
plextraktsync/trakt_api.py
from plextraktsync.decorators.rate_limit import rate_limit
from plextraktsync.decorators.retry import retry
from plextraktsync.decorators.time_limit import time_limit
-from plextraktsync.factory import factory, logger
-from plextraktsync.logging import logging
+from plextraktsync.factory import factory, logger, logging
from plextraktsync.path import pytrakt_file
from plextraktsync.plex_api import PlexGuid, PlexLibraryItem

Use logging from factory