2015-04-28 16:20:08 -06:00
|
|
|
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:
|
2019-07-03 08:07:04 -06:00
|
|
|
(): synapse.logging.context.LoggingContextFilter
|
2015-04-28 16:20:08 -06:00
|
|
|
request: ""
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
journal:
|
|
|
|
class: systemd.journal.JournalHandler
|
|
|
|
formatter: journal_fmt
|
|
|
|
filters: [context]
|
|
|
|
SYSLOG_IDENTIFIER: synapse
|
|
|
|
|
|
|
|
root:
|
|
|
|
level: INFO
|
|
|
|
handlers: [journal]
|
2015-05-31 10:21:55 -06:00
|
|
|
|
|
|
|
disable_existing_loggers: False
|