Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Increase default log level for docker image to INFO. (#5547)
Browse files Browse the repository at this point in the history
Fixes #3370.
  • Loading branch information
richvdh authored and hawkowl committed Jun 25, 2019
1 parent f817fc9 commit fe2d876
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelog.d/5547.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increase default log level for docker image to INFO. It can still be changed by editing the generated log.config file.
7 changes: 2 additions & 5 deletions docker/conf/log.config
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit fe2d876

Please sign in to comment.