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

Commit 88c5b43

Browse files
committed
Add a link to python's logging config schema (#5926)
2 parents 3d5f1eb + 92c1550 commit 88c5b43

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

changelog.d/5926.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add link in sample config to the logging config schema.

docs/sample_config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ database:
560560

561561
## Logging ##
562562

563-
# A yaml python logging config file
563+
# A yaml python logging config file as described by
564+
# https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
564565
#
565566
log_config: "CONFDIR/SERVERNAME.log.config"
566567

synapse/config/logger.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
8989
"""\
9090
## Logging ##
9191
92-
# A yaml python logging config file
92+
# A yaml python logging config file as described by
93+
# https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
9394
#
9495
log_config: "%(log_config)s"
9596
"""

0 commit comments

Comments
 (0)