diff options
author | erikjohnston <erikjohnston@users.noreply.github.com> | 2021-08-03 10:31:01 +0000 |
---|---|---|
committer | erikjohnston <erikjohnston@users.noreply.github.com> | 2021-08-03 10:31:01 +0000 |
commit | 186a31173c16155de27ee567989527c5010238fb (patch) | |
tree | d2723454c0c5b204e833f594565ab62173c91976 /develop/sample_log_config.yaml | |
parent | deploy: 2bae2c632ff595bda770212678521e04288f00a9 (diff) | |
download | synapse-186a31173c16155de27ee567989527c5010238fb.tar.xz |
deploy: f4ac934afe1d91bb0cc1bb6dafc77a94165aa740
Diffstat (limited to 'develop/sample_log_config.yaml')
-rw-r--r-- | develop/sample_log_config.yaml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/develop/sample_log_config.yaml b/develop/sample_log_config.yaml index b088c83405..669e600081 100644 --- a/develop/sample_log_config.yaml +++ b/develop/sample_log_config.yaml @@ -28,7 +28,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 @@ -36,9 +36,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. |