summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-03-07 14:12:10 +0000
committerGitHub <noreply@github.com>2019-03-07 14:12:10 +0000
commit32471d63b75f6bd7143b0652cb823f254f7027fc (patch)
treed5188735a92466a3fd8c7932ef167421942c9b72
parentFix check-newsfragment for debian-only changes. (#4825) (diff)
downloadsynapse-32471d63b75f6bd7143b0652cb823f254f7027fc.tar.xz
Update example_log_config.yaml (#4820)
-rw-r--r--changelog.d/4820.misc1
-rw-r--r--contrib/example_log_config.yaml3
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/4820.misc b/changelog.d/4820.misc
new file mode 100644
index 0000000000..1e35b5b63c
--- /dev/null
+++ b/changelog.d/4820.misc
@@ -0,0 +1 @@
+Update example_log_config.yaml.
diff --git a/contrib/example_log_config.yaml b/contrib/example_log_config.yaml
index c7aa68abf2..06592963da 100644
--- a/contrib/example_log_config.yaml
+++ b/contrib/example_log_config.yaml
@@ -19,6 +19,7 @@ handlers:
   # example output to console
   console:
     class: logging.StreamHandler
+    formatter: fmt
     filters: [context]
 
   # example output to file - to enable, edit 'root' config below.
@@ -29,7 +30,7 @@ handlers:
     maxBytes: 100000000
     backupCount: 3
     filters: [context]
-
+    encoding: utf8
 
 root:
     level: INFO