diff --git a/RNS/Interfaces/LocalInterface.py b/RNS/Interfaces/LocalInterface.py index dcb77cd..276eff0 100644 --- a/RNS/Interfaces/LocalInterface.py +++ b/RNS/Interfaces/LocalInterface.py @@ -123,7 +123,7 @@ class LocalClientInterface(Interface): RNS.log("Connection attempt for "+str(self)+" failed: "+str(e), RNS.LOG_DEBUG) if not self.never_connected: - RNS.log("Reconnected TCP socket for "+str(self)+".", RNS.LOG_INFO) + RNS.log("Reconnected socket for "+str(self)+".", RNS.LOG_INFO) self.reconnecting = False thread = threading.Thread(target=self.read_loop) diff --git a/RNS/Interfaces/TCPInterface.py b/RNS/Interfaces/TCPInterface.py index d12a706..bcf02ee 100644 --- a/RNS/Interfaces/TCPInterface.py +++ b/RNS/Interfaces/TCPInterface.py @@ -227,7 +227,7 @@ class TCPClientInterface(Interface): RNS.log("Connection attempt for "+str(self)+" failed: "+str(e), RNS.LOG_DEBUG) if not self.never_connected: - RNS.log("Reconnected TCP socket for "+str(self)+".", RNS.LOG_INFO) + RNS.log("Reconnected socket for "+str(self)+".", RNS.LOG_INFO) self.reconnecting = False thread = threading.Thread(target=self.read_loop) @@ -336,10 +336,10 @@ class TCPClientInterface(Interface): else: self.online = False if self.initiator and not self.detached: - RNS.log("TCP socket for "+str(self)+" was closed, attempting to reconnect...", RNS.LOG_WARNING) + RNS.log("The socket for "+str(self)+" was closed, attempting to reconnect...", RNS.LOG_WARNING) self.reconnect() else: - RNS.log("TCP socket for remote client "+str(self)+" was closed.", RNS.LOG_VERBOSE) + RNS.log("The socket for remote client "+str(self)+" was closed.", RNS.LOG_VERBOSE) self.teardown() break