summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2021-08-03 10:31:01 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2021-08-03 10:31:01 +0000
commit186a31173c16155de27ee567989527c5010238fb (patch)
treed2723454c0c5b204e833f594565ab62173c91976 /develop/usage
parentdeploy: 2bae2c632ff595bda770212678521e04288f00a9 (diff)
downloadsynapse-186a31173c16155de27ee567989527c5010238fb.tar.xz
deploy: f4ac934afe1d91bb0cc1bb6dafc77a94165aa740
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/configuration/logging_sample_config.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/develop/usage/configuration/logging_sample_config.html b/develop/usage/configuration/logging_sample_config.html
index f49556c7fc..6d57db5cc6 100644
--- a/develop/usage/configuration/logging_sample_config.html
+++ b/develop/usage/configuration/logging_sample_config.html
@@ -220,7 +220,7 @@ handlers:
     # will be a delay for INFO/DEBUG logs to get written, but WARNING/ERROR
     # logs will still be flushed immediately.
     buffer:
-        class: synapse.logging.handlers.PeriodicallyFlushingMemoryHandler
+        class: logging.handlers.MemoryHandler
         target: file
         # The capacity is the number of log lines that are buffered before
         # being written to disk. Increasing this will lead to better
@@ -228,9 +228,6 @@ handlers:
         # be written to disk.
         capacity: 10
         flushLevel: 30  # Flush for WARNING logs as well
-        # The period of time, in seconds, between forced flushes.
-        # Messages will not be delayed for longer than this time.
-        period: 5
 
     # A handler that writes logs to stderr. Unused by default, but can be used
     # instead of &quot;buffer&quot; and &quot;file&quot; in the logger handlers.