solitary: Add missing Synapse log configuration
This commit is contained in:
parent
d5311e000b
commit
b178ce6f15
2 changed files with 22 additions and 0 deletions
22
nixos/config/solitary/log_config.yaml
Normal file
22
nixos/config/solitary/log_config.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
version: 1
|
||||||
|
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: WARNING
|
||||||
|
handlers: [journal]
|
||||||
|
|
||||||
|
disable_existing_loggers: False
|
Loading…
Reference in a new issue