c8fd057129
- 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
11 lines
258 B
Python
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()
|