set log directory to ~/log
This commit is contained in:
parent
726e9756d6
commit
e34906ea14
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from pathlib import Path
|
||||||
|
|
||||||
from config import LOG_LEVEL
|
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)
|
LOGS_DIR.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue