Use logger from factory
MODIFY
plextraktsync/commands/sync.py
plextraktsync/commands/sync.py
from plextraktsync.commands.login import ensure_login
from plextraktsync.decorators.measure_time import measure_time
-from plextraktsync.factory import factory
-from plextraktsync.logging import logger
+from plextraktsync.factory import factory, logger
from plextraktsync.version import version

MODIFY
plextraktsync/decorators/measure_time.py
plextraktsync/decorators/measure_time.py
+import logging
from contextlib import contextmanager
from time import time
-from plextraktsync.logging import logger, logging
+from plextraktsync.factory import logger
@contextmanager

MODIFY
plextraktsync/decorators/rate_limit.py
plextraktsync/decorators/rate_limit.py
from trakt.errors import RateLimitException
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
# https://trakt.docs.apiary.io/#introduction/rate-limiting

MODIFY
plextraktsync/decorators/retry.py
plextraktsync/decorators/retry.py
from requests import ReadTimeout, RequestException
from trakt.errors import TraktInternalException
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
def retry(retries=5):

MODIFY
plextraktsync/media.py
plextraktsync/media.py
from trakt.errors import TraktException
from plextraktsync.decorators.cached_property import cached_property
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
from plextraktsync.plex_api import PlexApi, PlexGuid, PlexLibraryItem
from plextraktsync.trakt_api import TraktApi, TraktItem, TraktLookup

MODIFY
plextraktsync/plex_api.py
plextraktsync/plex_api.py
from plextraktsync.decorators.memoize import memoize
from plextraktsync.decorators.nocache import nocache
from plextraktsync.decorators.retry import retry
-from plextraktsync.factory import factory
-from plextraktsync.logging import logger
+from plextraktsync.factory import factory, logger
class PlexGuid:

MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
from plextraktsync.config import Config
from plextraktsync.decorators.cached_property import cached_property
from plextraktsync.decorators.measure_time import measure_time
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
from plextraktsync.media import Media
from plextraktsync.trakt_list_util import TraktListUtil
from plextraktsync.walker import Walker

MODIFY
plextraktsync/timer.py
plextraktsync/timer.py
from time import monotonic, sleep
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
class Timer:

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
-from plextraktsync.logging import logger, logging
+from plextraktsync.factory import factory, logger
+from plextraktsync.logging import logging
from plextraktsync.path import pytrakt_file
from plextraktsync.plex_api import PlexGuid, PlexLibraryItem

MODIFY
plextraktsync/trakt_list_util.py
plextraktsync/trakt_list_util.py
from trakt.users import UserList
from trakt.utils import extract_ids, slugify
-from plextraktsync.logging import logger
+from plextraktsync.factory import logger
from plextraktsync.plex_api import PlexApi

Use logger from factory