summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-02-23 13:42:36 +0000
committerGitHub <noreply@github.com>2021-02-23 13:42:36 +0000
commit713145d3de8699fde9d3baf0cf772dd46be0438e (patch)
tree954e78737f92f16669369f238f09d8fed9b8a974 /synapse/python_dependencies.py
parentInclude newly added sequences in the port DB script. (#9449) (diff)
downloadsynapse-713145d3de8699fde9d3baf0cf772dd46be0438e.tar.xz
Add a comment about systemd-python. (#9464)
This confused me for a while.
Diffstat (limited to '')
-rw-r--r--synapse/python_dependencies.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 8a2b73b75e..321a333820 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -106,6 +106,9 @@ CONDITIONAL_REQUIREMENTS = {
         "pysaml2>=4.5.0;python_version>='3.6'",
     ],
     "oidc": ["authlib>=0.14.0"],
+    # systemd-python is necessary for logging to the systemd journal via
+    # `systemd.journal.JournalHandler`, as is documented in
+    # `contrib/systemd/log_config.yaml`.
     "systemd": ["systemd-python>=231"],
     "url_preview": ["lxml>=3.5.0"],
     "sentry": ["sentry-sdk>=0.7.2"],