aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-02-21 11:45:39 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2014-02-21 11:45:39 +0100
commit8abb9e2d16e56f01699f2bb3e1dd7bda36385aaf (patch)
treee3898e56567cdc400d6cc9ad9395d4068e2fc374
parent0c60fd7e1260a5a80a92ea4204b918e1890d1bdd (diff)
downloadroadmap-8abb9e2d16e56f01699f2bb3e1dd7bda36385aaf.tar.gz
Fix log file encoding.
* Add utf8 file encoding for logger. Change-Id: Ie2a4c2380451146eb28dafa59ac453befe1ac2b8
-rw-r--r--linaroroadmap/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/linaroroadmap/settings.py b/linaroroadmap/settings.py
index 3ce28b5..9eb5869 100644
--- a/linaroroadmap/settings.py
+++ b/linaroroadmap/settings.py
@@ -202,7 +202,9 @@ LOGGING = {
'filename': '/var/log/roadmap/roadmap.helpers.log',
'backupCount': 5,
'when': 'midnight',
- 'formatter': 'simple'
+ 'formatter': 'simple',
+ 'encoding': 'utf8',
+ 'delay': True,
},
'roadmap_app': {
'level': 'DEBUG',