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

Commit

Permalink
Make the logging level configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyou committed May 1, 2018
1 parent d4c14e1 commit 4f2e898
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/docker/conf/log.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ handlers:

loggers:
synapse:
level: INFO
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: INFO
level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}

root:
level: INFO
level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
handlers: [console]
1 change: 1 addition & 0 deletions contrib/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
- SYNAPSE_SERVER_NAME=my.matrix.host
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_ENABLE_REGISTRATION=yes
- SYNAPSE_LOG_LEVEL=INFO
- POSTGRES_PASSWORD=changeme
volumes:
# You may either store all the files in a local folder
Expand Down

0 comments on commit 4f2e898

Please sign in to comment.