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/Billing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Biz/PodcastItLater/Billing.py') diff --git a/Biz/PodcastItLater/Billing.py b/Biz/PodcastItLater/Billing.py index de3540b..7746f79 100644 --- a/Biz/PodcastItLater/Billing.py +++ b/Biz/PodcastItLater/Billing.py @@ -10,6 +10,7 @@ Stripe subscription management and usage enforcement. # : dep pytest-mock import Biz.PodcastItLater.Core as Core import json +import logging import Omni.App as App import Omni.Log as Log import Omni.Test as Test @@ -20,7 +21,8 @@ import typing from datetime import datetime from datetime import timezone -logger = Log.setup() +logger = logging.getLogger(__name__) +Log.setup(logger) # Stripe configuration stripe.api_key = os.getenv("STRIPE_SECRET_KEY", "") -- cgit v1.2.3