Increase default log level for docker image to INFO. (#5547)

Fixes #3370.
pull/5548/head
Richard van der Hoff 2019-06-25 05:38:38 +01:00 committed by Amber Brown
parent f817fc9ad5
commit fe2d876e2a
2 changed files with 3 additions and 5 deletions

1
changelog.d/5547.feature Normal file
View File

@ -0,0 +1 @@
Increase default log level for docker image to INFO. It can still be changed by editing the generated log.config file.

View File

@ -16,14 +16,11 @@ handlers:
filters: [context] filters: [context]
loggers: loggers:
synapse:
level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
synapse.storage.SQL: synapse.storage.SQL:
# beware: increasing this to DEBUG will make synapse log sensitive # beware: increasing this to DEBUG will make synapse log sensitive
# information such as access tokens. # information such as access tokens.
level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }} level: INFO
root: root:
level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }} level: {{ SYNAPSE_LOG_LEVEL or "INFO" }}
handlers: [console] handlers: [console]