From c018d2dd1d7e7f1cc19b25f6ec74b3dec44ae9b9 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 12 Nov 2025 21:20:07 -0500 Subject: Cleanup some logging setup code I think the calls to Log.setup() were accidentally creating multiple loggers, hopefully this fixes the problem. --- Biz/PodcastItLater/Core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Biz/PodcastItLater/Core.py') 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", ".")) -- cgit v1.2.3