summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2023-05-22 18:58:58 +0100
committerGitHub <noreply@github.com>2023-05-22 17:58:58 +0000
commit737f7ddf5873a28d4334dc7f6b25edbaaaf934c7 (patch)
tree76f99dc3fdfb7b28e2caaed1e800ed5410e03282
parentProperly parse event_fields in filters (#15607) (diff)
downloadsynapse-737f7ddf5873a28d4334dc7f6b25edbaaaf934c7.tar.xz
Remove outdated comment in log config (#15648)
-rw-r--r--changelog.d/15648.doc1
-rw-r--r--docs/sample_log_config.yaml4
-rw-r--r--synapse/config/logger.py4
3 files changed, 3 insertions, 6 deletions
diff --git a/changelog.d/15648.doc b/changelog.d/15648.doc
new file mode 100644
index 0000000000..70f65ebbff
--- /dev/null
+++ b/changelog.d/15648.doc
@@ -0,0 +1 @@
+Remove outdated comment from the generated and sample homeserver log configs.
\ No newline at end of file
diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
index 6339160d00..ae0318122e 100644
--- a/docs/sample_log_config.yaml
+++ b/docs/sample_log_config.yaml
@@ -68,9 +68,7 @@ root:
     # Write logs to the `buffer` handler, which will buffer them together in memory,
     # then write them to a file.
     #
-    # Replace "buffer" with "console" to log to stderr instead. (Note that you'll
-    # also need to update the configuration for the `twisted` logger above, in
-    # this case.)
+    # Replace "buffer" with "console" to log to stderr instead.
     #
     handlers: [buffer]
 
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index 56db875b25..1e080133dc 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -117,9 +117,7 @@ root:
     # Write logs to the `buffer` handler, which will buffer them together in memory,
     # then write them to a file.
     #
-    # Replace "buffer" with "console" to log to stderr instead. (Note that you'll
-    # also need to update the configuration for the `twisted` logger above, in
-    # this case.)
+    # Replace "buffer" with "console" to log to stderr instead.
     #
     handlers: [buffer]