Moins de logs Matrix Synapse
This commit is contained in:
parent
6208362d7e
commit
7490454b9e
@ -200,6 +200,31 @@ in
|
|||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
max_upload_size: "100M"
|
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;
|
services.pgmanage.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user