Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
1bbbe70e
Verified
Commit
1bbbe70e
authored
Aug 25, 2021
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Remove synapse's log buffering
The JournalHandler doesn't support flushing, anyway.
parent
f2808b95
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/matrix/files/log_config.yaml
View file @
1bbbe70e
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment