Rework logging structure
This commit is contained in:
1 parent
891661bdc6
commit
655edece3f
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user