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

Rotate logs

parent 755f5acd
...@@ -30,11 +30,13 @@ LOG_CONFIG = { ...@@ -30,11 +30,13 @@ LOG_CONFIG = {
'stream': 'ext://sys.stdout', 'stream': 'ext://sys.stdout',
}, },
'file': { 'file': {
'class': 'logging.FileHandler', 'class': 'logging.handlers.TimedRotatingFileHandler',
'when': 'D',
}, },
'errors': { 'errors': {
'class': 'logging.FileHandler', 'class': 'logging.handlers.TimedRotatingFileHandler',
'level': 'ERROR', 'level': 'ERROR',
'when': 'D',
}, },
'console_detailed': { 'console_detailed': {
'class': 'logging.StreamHandler', '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