set log directory to ~/log

This commit is contained in:
Stanislas Jouffroy 2025-05-23 16:40:29 +02:00
parent 726e9756d6
commit e34906ea14

View file

@ -4,7 +4,7 @@ from pathlib import Path
from config import LOG_LEVEL
LOGS_DIR = Path("/opt", "log", "menu-creche")
LOGS_DIR = Path.home() / "log" / "menu-creche"
LOGS_DIR.mkdir(parents=True, exist_ok=True)