0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-21 12:23:59 +01:00
synapse/contrib/systemd/log_config.yaml

26 lines
535 B
YAML
Raw Normal View History

version: 1
# In systemd's journal, loglevel is implicitly stored, so let's omit it
# from the message text.
formatters:
journal_fmt:
format: '%(name)s: [%(request)s] %(message)s'
filters:
context:
(): synapse.logging.context.LoggingContextFilter
request: ""
handlers:
journal:
class: systemd.journal.JournalHandler
formatter: journal_fmt
filters: [context]
SYSLOG_IDENTIFIER: synapse
root:
level: INFO
handlers: [journal]
disable_existing_loggers: False