summary refs log tree commit diff
path: root/contrib/docker
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-02-10 23:57:51 +0100
committerkaiyou <pierre@jaury.eu>2018-02-10 23:57:51 +0100
commitf44b7c022f6bc8b30cb8c446e0922b26b8b8eb5a (patch)
treea04d6db91d6f783cfb9ea949d42a09e90806f0d3 /contrib/docker
parentExplicitely provide the postgres password to synapse in the Compose example (diff)
downloadsynapse-f44b7c022f6bc8b30cb8c446e0922b26b8b8eb5a.tar.xz
Disable logging to file and rely on the console when using Docker
Diffstat (limited to 'contrib/docker')
-rw-r--r--contrib/docker/conf/log.config9
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/docker/conf/log.config b/contrib/docker/conf/log.config
index 45e7eef953..b5c907c4f9 100644
--- a/contrib/docker/conf/log.config
+++ b/contrib/docker/conf/log.config
@@ -10,13 +10,6 @@ filters:
     request: ""
 
 handlers:
-  file:
-    class: logging.handlers.RotatingFileHandler
-    formatter: precise
-    filename: /data/homeserver.log
-    maxBytes: 104857600
-    backupCount: 10
-    filters: [context]
   console:
     class: logging.StreamHandler
     formatter: precise
@@ -33,4 +26,4 @@ loggers:
 
 root:
     level: INFO
-    handlers: [file, console]
+    handlers: [console]