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
  • Loading branch information
anoadragon453 committed Feb 14, 2020
2 parents 575090b + fe2d876 commit 9178e5e
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 9178e5e

Please sign in to comment.