diff options
author | Erik Johnston <erik@matrix.org> | 2020-08-11 18:10:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 18:10:07 +0100 |
commit | a0f574f3c291374c11b7b1cac8fc7c4fbb6ef7b2 (patch) | |
tree | 3e945ba7857c36d57b5e8322cfe299efd2c319ba /synapse/http/federation | |
parent | Change the default log config to reduce disk I/O and storage (#8040) (diff) | |
download | synapse-a0f574f3c291374c11b7b1cac8fc7c4fbb6ef7b2.tar.xz |
Reduce INFO logging (#8050)
c.f. #8021 A lot of the code here is to change the `Completed 200 OK` logging to include the request URI so that we can drop the `Sending request...` log line. Some notes: 1. We won't log retries, which may be confusing considering the time taken log line includes retries and sleeps. 2. The `_send_request_with_optional_trailing_slash` will always be logged *without* the forward slash, even if it succeeded only with the forward slash.
Diffstat (limited to 'synapse/http/federation')
-rw-r--r-- | synapse/http/federation/matrix_federation_agent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/federation/matrix_federation_agent.py b/synapse/http/federation/matrix_federation_agent.py index 0c02648015..369bf9c2fc 100644 --- a/synapse/http/federation/matrix_federation_agent.py +++ b/synapse/http/federation/matrix_federation_agent.py @@ -247,7 +247,7 @@ class MatrixHostnameEndpoint(object): port = server.port try: - logger.info("Connecting to %s:%i", host.decode("ascii"), port) + logger.debug("Connecting to %s:%i", host.decode("ascii"), port) endpoint = HostnameEndpoint(self._reactor, host, port) if self._tls_options: endpoint = wrapClientTLS(self._tls_options, endpoint) |