diff --git a/context.py b/context.py index c3cba508..35655d7d 100644 --- a/context.py +++ b/context.py @@ -22,7 +22,7 @@ from helper import LazyLogger # noqa: F402 ################################################################################################# -LOG = LazyLogger("context") +LOG = LazyLogger(__name__) ################################################################################################# diff --git a/context_play.py b/context_play.py index 48e3cc15..2788a23d 100644 --- a/context_play.py +++ b/context_play.py @@ -22,7 +22,7 @@ from helper import LazyLogger # noqa: F402 ################################################################################################# -LOG = LazyLogger("context_play") +LOG = LazyLogger(__name__) ################################################################################################# diff --git a/default.py b/default.py index 210bf991..a4eb60c4 100644 --- a/default.py +++ b/default.py @@ -22,7 +22,7 @@ from helper import LazyLogger # noqa: F402 ################################################################################################# -LOG = LazyLogger("default") +LOG = LazyLogger(__name__) ################################################################################################# diff --git a/jellyfin_kodi/entrypoint/__init__.py b/jellyfin_kodi/entrypoint/__init__.py index ebb84487..84a9e4b4 100644 --- a/jellyfin_kodi/entrypoint/__init__.py +++ b/jellyfin_kodi/entrypoint/__init__.py @@ -16,6 +16,6 @@ from .context import Context ################################################################################################# -LOG = LazyLogger("entrypoint") +LOG = LazyLogger(__name__) ################################################################################################# diff --git a/service.py b/service.py index 30790e63..5b8447a1 100644 --- a/service.py +++ b/service.py @@ -24,7 +24,7 @@ from helper import LazyLogger # noqa: F402 ################################################################################################# -LOG = LazyLogger("service") +LOG = LazyLogger(__name__) DELAY = int(settings('startupDelay') if settings('SyncInstallRunDone.bool') else 4 or 0) #################################################################################################