Rename shared/logging/ to shared/log_config/ to avoid stdlib shadow

shared/logging/ shadows Python's stdlib logging module, causing a
circular import when any code does `import logging`. This breaks
both the entrypoint Redis flush and Hypercorn app loading.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-11 13:55:20 +00:00
parent 4dd25526b9
commit 9bc9f64dce
3 changed files with 1 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ from quart import Quart, request, g, send_from_directory
from shared.config import init_config, config, pretty from shared.config import init_config, config, pretty
from shared.models import KV # ensure models imported from shared.models import KV # ensure models imported
from shared.logging import configure_logging from shared.log_config import configure_logging
from shared.events import EventProcessor from shared.events import EventProcessor
from shared.db.session import register_db from shared.db.session import register_db