diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-12 21:20:07 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-13 11:20:14 -0500 |
| commit | c018d2dd1d7e7f1cc19b25f6ec74b3dec44ae9b9 (patch) | |
| tree | a8c0748068f00449bd175aa953eb1acd7027fa65 /Biz/PodcastItLater/Core.py | |
| parent | 2ad3efe73fbd5df58ae77ec411121575547f0e11 (diff) | |
Cleanup some logging setup code
I think the calls to Log.setup() were accidentally creating multiple
loggers, hopefully this fixes the problem.
Diffstat (limited to 'Biz/PodcastItLater/Core.py')
| -rw-r--r-- | Biz/PodcastItLater/Core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Biz/PodcastItLater/Core.py b/Biz/PodcastItLater/Core.py index 42a4df2..1339a7d 100644 --- a/Biz/PodcastItLater/Core.py +++ b/Biz/PodcastItLater/Core.py @@ -10,8 +10,8 @@ Includes: # : dep pytest # : dep pytest-asyncio # : dep pytest-mock +import logging import Omni.App as App -import Omni.Log as Log import Omni.Test as Test import os import pathlib @@ -25,7 +25,7 @@ from collections.abc import Iterator from contextlib import contextmanager from typing import Any -logger = Log.setup() +logger = logging.getLogger(__name__) CODEROOT = pathlib.Path(os.getenv("CODEROOT", ".")) |
