Verified Commit 1bbbe70e authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Remove synapse's log buffering

The JournalHandler doesn't support flushing, anyway.
parent f2808b95
......@@ -5,27 +5,17 @@ formatters:
format: '%(name)s: [%(request)s] %(message)s'
handlers:
buffer:
class: logging.handlers.MemoryHandler
target: journal
capacity: 10
flushLevel: 30 # Flush for WARNING logs as well
journal:
class: systemd.journal.JournalHandler
formatter: journal_fmt
SYSLOG_IDENTIFIER: synapse
loggers:
twisted:
handlers: [journal]
propagate: false
synapse.logging.context:
level: ERROR
root:
level: WARNING
handlers: [buffer]
handlers: [journal]
disable_existing_loggers: false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment