1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/matrix/files/log_config.yaml
Jan Alexander Steffens (heftig) b5fbd524b6
matrix: Allow more logs from synapse
2023-10-10 17:55:55 +02:00

30 lines
595 B
YAML

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
loggers:
synapse.logging.context:
level: ERROR
root:
level: INFO
handlers: [journal]
disable_existing_loggers: false