summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-08-04 15:20:28 +0100
committerBrendan Abolivier <babolivier@matrix.org>2021-08-04 15:20:28 +0100
commit0dcc40e81a35e1c84b41b1c207ab56cb0c4a4016 (patch)
tree562192cb6cffa92ffb9b2570213b7b486fa4f6a9 /synapse/config/logger.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentDon't fail on empty bodies when sending out read receipts (#10531) (diff)
downloadsynapse-0dcc40e81a35e1c84b41b1c207ab56cb0c4a4016.tar.xz
Merge branch 'release-v1.40' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py

index dcd3ed1dac..ad4e6e61c3 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py
@@ -71,7 +71,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 @@ -79,9 +79,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.