Browse Source

Remove outdated comment in log config (#15648)

Andrew Morgan 11 months ago
parent
commit
737f7ddf58
3 changed files with 3 additions and 6 deletions
  1. 1 0
      changelog.d/15648.doc
  2. 1 3
      docs/sample_log_config.yaml
  3. 1 3
      synapse/config/logger.py

+ 1 - 0
changelog.d/15648.doc

@@ -0,0 +1 @@
+Remove outdated comment from the generated and sample homeserver log configs.

+ 1 - 3
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]
 

+ 1 - 3
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]