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