summary refs log tree commit diff
path: root/synapse/http/federation
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-02-01 12:34:31 +0000
committerRichard van der Hoff <richard@matrix.org>2019-02-01 12:34:31 +0000
commite9779a6f8f3d51945f1480eb598f98c205cbbc21 (patch)
treed1505310ff8086d178c315e5648420ead80d295f /synapse/http/federation
parentMerge pull request #4542 from matrix-org/rav/cache_for_bad_well_known (diff)
downloadsynapse-e9779a6f8f3d51945f1480eb598f98c205cbbc21.tar.xz
Fix b'ab' noise in logs
Diffstat (limited to 'synapse/http/federation')
-rw-r--r--synapse/http/federation/matrix_federation_agent.py2
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 50baa8bf0a..44290e0335 100644
--- a/synapse/http/federation/matrix_federation_agent.py
+++ b/synapse/http/federation/matrix_federation_agent.py
@@ -379,7 +379,7 @@ class LoggingHostnameEndpoint(object):
         self.ep = HostnameEndpoint(reactor, host, port, *args, **kwargs)
 
     def connect(self, protocol_factory):
-        logger.info("Connecting to %s:%i", self.host, self.port)
+        logger.info("Connecting to %s:%i", self.host.decode("ascii"), self.port)
         return self.ep.connect(protocol_factory)