summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:58:07 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:58:07 +0000
commit1b410419c273482ff93c83783089fe1bc30991a8 (patch)
treef97447d38162487948109a280f1a6cfcbd179d3b /synapse/config/logger.py
parentRaise an error if someone tries to use the log_file config option (#6626) (diff)
parentAutomate generation of the sample and debian log configs (#6627) (diff)
downloadsynapse-1b410419c273482ff93c83783089fe1bc30991a8.tar.xz
Automate generation of the sample and debian log configs (#6627)
* commit '08815566b':
  Automate generation of the sample and debian log configs (#6627)
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py

index 3c455610d9..a25c70e928 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py
@@ -40,7 +40,14 @@ from synapse.util.versionstring import get_version_string from ._base import Config, ConfigError DEFAULT_LOG_CONFIG = Template( - """ + """\ +# Log configuration for Synapse. +# +# This is a YAML file containing a standard Python logging configuration +# dictionary. See [1] for details on the valid settings. +# +# [1]: https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema + version: 1 formatters: