Commit 803fcb83 authored by Raphaël Hertzog's avatar Raphaël Hertzog

settings: use UTF-8 encoding for all log files

parent 9079c166
......@@ -296,6 +296,7 @@ LOGGING = {
'level': 'INFO',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': 'mail.log',
'encoding': 'utf-8',
'formatter': 'standard',
'when': 'W0',
'delay': True,
......@@ -305,6 +306,7 @@ LOGGING = {
'level': 'INFO',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': 'tasks.log',
'encoding': 'utf-8',
'formatter': 'standard',
'when': 'W0',
'delay': True,
......@@ -314,6 +316,7 @@ LOGGING = {
'level': 'WARNING',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': 'errors.log',
'encoding': 'utf-8',
'formatter': 'verbose',
'when': 'W0',
'delay': True,
......
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