Skip to content
Browse files

LOG more info in TcpServer

  • Loading branch information...
1 parent 7d1bad5 commit cf7620680d7c26b1561e9f97c721c7dc45ea1ae8 @dgomezferro committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/com/yahoo/pasc/paxos/server/tcp/TcpServer.java
View
3 src/main/java/com/yahoo/pasc/paxos/server/tcp/TcpServer.java
@@ -302,10 +302,11 @@ private void setupConnections() {
future = bootstrap.connect(new InetSocketAddress(hostname, port));
future.awaitUninterruptibly();
} catch (Exception e) {
- LOG.trace("Error during connection");
+ LOG.trace("Error during connection to " + server);
}
}
serverChannels.add(future.getChannel());
+ LOG.trace("Connected to " + server);
indexedServerChannels.put(id, future.getChannel());
id++;
}

0 comments on commit cf76206

Please sign in to comment.
Something went wrong with that request. Please try again.