diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 14:55:04 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 14:55:04 +0000 |
commit | db0b6a84399c8c26882ec767174000a3d535a801 (patch) | |
tree | e24298c50f42dfd7295da0af3a3cde821e307609 | |
parent | Clean up the AUTHORS file (#6215) (diff) | |
parent | Fix logging config for the docker image (#6197) (diff) | |
download | synapse-db0b6a84399c8c26882ec767174000a3d535a801.tar.xz |
Fix logging config for the docker image (#6197)
* commit '560c12226': Fix logging config for the docker image (#6197)
-rw-r--r-- | changelog.d/6197.docker | 1 | ||||
-rw-r--r-- | docker/conf/log.config | 2 | ||||
-rw-r--r-- | synapse/config/logger.py | 5 |
3 files changed, 5 insertions, 3 deletions
diff --git a/changelog.d/6197.docker b/changelog.d/6197.docker new file mode 100644 index 0000000000..71fb9cbff5 --- /dev/null +++ b/changelog.d/6197.docker @@ -0,0 +1 @@ +Fix logging getting lost for the docker image. diff --git a/docker/conf/log.config b/docker/conf/log.config index db35e475a4..ed418a57cd 100644 --- a/docker/conf/log.config +++ b/docker/conf/log.config @@ -24,3 +24,5 @@ loggers: root: level: {{ SYNAPSE_LOG_LEVEL or "INFO" }} handlers: [console] + +disable_existing_loggers: false diff --git a/synapse/config/logger.py b/synapse/config/logger.py index d609ec111b..be92e33f93 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py @@ -68,9 +68,6 @@ handlers: filters: [context] loggers: - synapse: - level: INFO - synapse.storage.SQL: # beware: increasing this to DEBUG will make synapse log sensitive # information such as access tokens. @@ -79,6 +76,8 @@ loggers: root: level: INFO handlers: [file, console] + +disable_existing_loggers: false """ ) |