summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-03 17:14:00 +0000
committerGitHub <noreply@github.com>2020-01-03 17:14:00 +0000
commit08815566bca79d001ad1bf58b2b082e435b6e5df (patch)
treec60e93d4dddc4431c5cd4e2bf4d6ff9d5a9ef5dc /synapse/config/logger.py
parentRaise an error if someone tries to use the log_file config option (#6626) (diff)
downloadsynapse-08815566bca79d001ad1bf58b2b082e435b6e5df.tar.xz
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: