diff options
-rw-r--r-- | docker/conf/log.config | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/conf/log.config b/docker/conf/log.config index 1851995802..cd121bb129 100644 --- a/docker/conf/log.config +++ b/docker/conf/log.config @@ -15,6 +15,13 @@ handlers: formatter: precise filters: [context] + {% if SYNAPSE_LOG_HOST %} + http_meshsim: + class: logging.handlers.HTTPHandler + host: {{ SYNAPSE_LOG_HOST }}:3000 + url: "/log" + {% endif %} + loggers: synapse: level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }} @@ -24,6 +31,12 @@ loggers: # information such as access tokens. level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }} +{% if SYNAPSE_LOG_HOST %} + synapse.federation.pdu_destination_logger: + level: INFO + handlers: [http_meshsim,console] +{% endif %} + root: level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }} handlers: [console] |