Commit 9eac6707 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

Rotate logs

parent 271fed1b
......@@ -30,11 +30,13 @@ LOG_CONFIG = {
'stream': 'ext://sys.stdout',
},
'file': {
'class': 'logging.FileHandler',
'class': 'logging.handlers.TimedRotatingFileHandler',
'when': 'D',
},
'errors': {
'class': 'logging.FileHandler',
'class': 'logging.handlers.TimedRotatingFileHandler',
'level': 'ERROR',
'when': 'D',
},
'console_detailed': {
'class': 'logging.StreamHandler',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment