From 70e031f20120ba9665447ac2d8320d58e3a05406 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 24 Jun 2019 18:07:52 +0100 Subject: [PATCH] Increase default log level for docker image to INFO. Fixes #3370. --- changelog.d/5547.feature | 1 + docker/conf/log.config | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 changelog.d/5547.feature diff --git a/changelog.d/5547.feature b/changelog.d/5547.feature new file mode 100644 index 000000000000..509e36c7ea00 --- /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 1851995802e8..895e45d20b7a 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]