Initialize logging setup in main application prior to app creation for improved error tracking and management.

This commit is contained in:
Lars committed 2026-01-01 08:09:20 +01:00
1 parent 008167268f
commit d49d509451
2 files changed
+42

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ try:
except Exception:
admin_router = None
from .core.logging_setup import setup_logging
# Initialisierung noch VOR create_app()
setup_logging()
logger = logging.getLogger(__name__)
# --- WP-25: Lifespan Management ---