Moins de logs Matrix Synapse

This commit is contained in:
nyanloutre 2018-07-02 17:44:49 +02:00
parent 6208362d7e
commit 7490454b9e

View File

@ -200,6 +200,31 @@ in
extraConfig = ''
max_upload_size: "100M"
'';
logConfig = ''
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
'';
};
services.pgmanage.enable = true;