From 186a31173c16155de27ee567989527c5010238fb Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Tue, 3 Aug 2021 10:31:01 +0000 Subject: deploy: f4ac934afe1d91bb0cc1bb6dafc77a94165aa740 --- develop/usage/configuration/logging_sample_config.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'develop/usage/configuration/logging_sample_config.html') 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 "buffer" and "file" in the logger handlers. -- cgit 1.5.1