summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-25 05:38:38 +0100
committerAmber Brown <hawkowl@atleastfornow.net>2019-06-25 14:38:38 +1000
commitfe2d876e2a3c970c70ca4e7c1508624279cf4ed5 (patch)
tree2d96b26fbcc074f8ba3b1aac5c69147fdd328103
parentUpdate docker image to use Python 3.7. (#5546) (diff)
downloadsynapse-fe2d876e2a3c970c70ca4e7c1508624279cf4ed5.tar.xz
Increase default log level for docker image to INFO. (#5547)
Fixes #3370.
-rw-r--r--changelog.d/5547.feature1
-rw-r--r--docker/conf/log.config7
2 files changed, 3 insertions, 5 deletions
diff --git a/changelog.d/5547.feature b/changelog.d/5547.feature
new file mode 100644
index 0000000000..509e36c7ea
--- /dev/null
+++ b/changelog.d/5547.feature
@@ -0,0 +1 @@
+Increase default log level for docker image to INFO. It can still be changed by editing the generated log.config file.
diff --git a/docker/conf/log.config b/docker/conf/log.config
index 1851995802..895e45d20b 100644
--- a/docker/conf/log.config
+++ b/docker/conf/log.config
@@ -16,14 +16,11 @@ handlers:
     filters: [context]
 
 loggers:
-    synapse:
-        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: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
+        level: INFO
 
 root:
-    level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
+    level: {{ SYNAPSE_LOG_LEVEL or "INFO" }}
     handlers: [console]