summary refs log tree commit diff
path: root/contrib/docker/conf
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-05-01 20:49:52 +0200
committerkaiyou <pierre@jaury.eu>2018-05-01 20:50:03 +0200
commit4f2e898c29de5b51e8c5893afa64e5b43d25048f (patch)
treeff6e289a22aee9d3ab9e1e87cfffe1ed7826fcbc /contrib/docker/conf
parentFix the documentation about 'POSTGRES_DB' (diff)
downloadsynapse-4f2e898c29de5b51e8c5893afa64e5b43d25048f.tar.xz
Make the logging level configurable
Diffstat (limited to 'contrib/docker/conf')
-rw-r--r--contrib/docker/conf/log.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/docker/conf/log.config b/contrib/docker/conf/log.config
index b5c907c4f9..1851995802 100644
--- a/contrib/docker/conf/log.config
+++ b/contrib/docker/conf/log.config
@@ -17,13 +17,13 @@ handlers:
 
 loggers:
     synapse:
-        level: INFO
+        level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
 
     synapse.storage.SQL:
         # beware: increasing this to DEBUG will make synapse log sensitive
         # information such as access tokens.
-        level: INFO
+        level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
 
 root:
-    level: INFO
+    level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
     handlers: [console]