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>2019-03-04 17:14:58 +0000
committerGitHub <noreply@github.com>2019-03-04 17:14:58 +0000
commit8e28bc5eeecbc2c9130c05e8c8237a546fb4d3ea (patch)
treeb6257afed4b8d90441ee285d425f910e7b5e9060 /synapse/config/logger.py
parentFix v4v6 option in HAProxy example config (#4790) (diff)
downloadsynapse-8e28bc5eeecbc2c9130c05e8c8237a546fb4d3ea.tar.xz
Include a default configuration file in the 'docs' directory. (#4791)
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index f6940b65fd..464c28c2d9 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -81,7 +81,9 @@ class LoggingConfig(Config):
 
     def default_config(self, config_dir_path, server_name, **kwargs):
         log_config = os.path.join(config_dir_path, server_name + ".log.config")
-        return """
+        return """\
+        ## Logging ##
+
         # A yaml python logging config file
         #
         log_config: "%(log_config)s"