From bd0f78b10aa779d4e476d2377113db4a55415bbc Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Tue, 10 May 2016 08:28:54 +0200 Subject: [PATCH] Demote keepalive warning to debug entry The error is pretty obscure for a normal user to see in console, and it just reflects a network condition or some delay in the communication with another node, which may be relatively frequent. Leaving a TODO comment to check if this can cause issues. --- .../io/bitsquare/p2p/peers/keepalive/KeepAliveManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/src/main/java/io/bitsquare/p2p/peers/keepalive/KeepAliveManager.java b/network/src/main/java/io/bitsquare/p2p/peers/keepalive/KeepAliveManager.java index 75a5afd070..f0108d2948 100644 --- a/network/src/main/java/io/bitsquare/p2p/peers/keepalive/KeepAliveManager.java +++ b/network/src/main/java/io/bitsquare/p2p/peers/keepalive/KeepAliveManager.java @@ -189,7 +189,8 @@ public class KeepAliveManager implements MessageListener, ConnectionListener, Pe handlerMap.put(uid, keepAliveHandler); keepAliveHandler.sendPingAfterRandomDelay(connection); } else { - log.warn("Connection with id {} has not completed and is still in our map. " + + // TODO check if this situation causes any issues + log.debug("Connection with id {} has not completed and is still in our map. " + "We will try to ping that peer at the next schedule.", uid); } });