Rework logging structure

This commit is contained in:
parkel committed 2023-03-16 23:51:41 +01:00
1 parent 891661bdc6
commit 655edece3f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ init:
pip install -r requirements.txt pip install -r requirements.txt
install: install:
mkdir logs
cp jeevesbot/env.py.dist jeevesbot/env.py cp jeevesbot/env.py.dist jeevesbot/env.py
cp jeevesbot/secret.json.dist jeevesbot/secret.json cp jeevesbot/secret.json.dist jeevesbot/secret.json
+1 -1
View File
@@ -17,7 +17,7 @@ LOGGING = {
'level' : 'INFO', 'level' : 'INFO',
'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.RotatingFileHandler',
'formatter': 'standard', 'formatter': 'standard',
'filename': 'jeeves.log', 'filename': 'logs/jeeves.log',
'maxBytes': 4096, 'maxBytes': 4096,
'backupCount': 7 'backupCount': 7
} }