Initialize logging setup in main application prior to app creation for improved error tracking and management.
This commit is contained in:
1 parent
008167268f
commit
d49d509451
2 files changed
+42
No files matched your search
@@ -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 ---
|
||||
|
||||
Reference in new issue
Block a user