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
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ from pathlib import Path
|
||||
|
||||
from loguru import logger
|
||||
|
||||
from configs.default import LOG_DIR, LOG_RETENTION, LOG_ROTATION
|
||||
from configs.load import LOG_DIR, LOG_RETENTION, LOG_ROTATION
|
||||
|
||||
|
||||
def setup_logging() -> None:
|
||||
|
||||
Reference in New Issue
Block a user