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/Storybook.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Biz/Storybook.py') diff --git a/Biz/Storybook.py b/Biz/Storybook.py index 57b84c6..164e845 100755 --- a/Biz/Storybook.py +++ b/Biz/Storybook.py @@ -56,7 +56,8 @@ PORT = int(os.environ.get("PORT", "3000")) area = App.from_env() app = ludic.web.LudicApp(debug=area == App.Area.Test) -log = Log.setup(logging.DEBUG if area == App.Area.Test else logging.ERROR) +log = logging.getLogger(__name__) +Log.setup(log, logging.DEBUG if area == App.Area.Test else logging.ERROR) Sqids = sqids.Sqids() -- cgit v1.2.3