Files
posefit-server/app/core/lifecycle.py
T
wsy182 c8fd057129 Centralize configuration into config.yaml
- All settings moved to config.yaml
- configs/load.py reads from config.yaml with env var overrides
- Environment variables still work for backward compatibility
- Added pyyaml to requirements
2026-06-10 10:19:41 +08:00

11 lines
258 B
Python

from __future__ import annotations
from app.diagnostics.crash_handler import enable_crash_handler
from configs.load import LOG_DIR
def startup() -> None:
enable_crash_handler(LOG_DIR)
from app.core.logging import setup_logging
setup_logging()