mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
26 lines
535 B
YAML
26 lines
535 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.util.logcontext.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
|