summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-11-03 02:28:07 +1100
committerGitHub <noreply@github.com>2018-11-03 02:28:07 +1100
commit0467384d2f1bd6496b81165689662cd4d3f9deba (patch)
treeb1dfb9992b5d82491a00e42c9a669d3226f6f3c6 /synapse/config/logger.py
parentMerge pull request #4137 from matrix-org/erikj/clean_up_events (diff)
downloadsynapse-0467384d2f1bd6496b81165689662cd4d3f9deba.tar.xz
Set the encoding to UTF8 in the default logconfig (#4138)
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index e9a936118d..7081868963 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -50,6 +50,7 @@ handlers:
         maxBytes: 104857600
         backupCount: 10
         filters: [context]
+        encoding: utf8
     console:
         class: logging.StreamHandler
         formatter: precise