diff --git a/src/Connection/Connection.py b/src/Connection/Connection.py index 04cdc7ea..fc1e9c4b 100644 --- a/src/Connection/Connection.py +++ b/src/Connection/Connection.py @@ -106,7 +106,6 @@ class Connection(object): # Open connection to peer and wait for handshake def connect(self): - self.log("Connecting...") self.type = "out" if self.ip.endswith(".onion"): if not self.server.tor_manager or not self.server.tor_manager.enabled: diff --git a/src/Connection/ConnectionServer.py b/src/Connection/ConnectionServer.py index 85cb308e..b33f894a 100644 --- a/src/Connection/ConnectionServer.py +++ b/src/Connection/ConnectionServer.py @@ -173,6 +173,7 @@ class ConnectionServer(object): self.num_outgoing += 1 self.ips[key] = connection self.connections.append(connection) + connection.log("Connecting... (site: %s)" % site) succ = connection.connect() if not succ: connection.close("Connection event return error")