From e34906ea144dca97834701177eaba3576f734eea Mon Sep 17 00:00:00 2001 From: stanislas Date: Fri, 23 May 2025 16:40:29 +0200 Subject: [PATCH] set log directory to ~/log --- logging_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging_conf.py b/logging_conf.py index 981f2d2..77880fc 100644 --- a/logging_conf.py +++ b/logging_conf.py @@ -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)