removed unwanted logging

This commit is contained in:
Rob Austin
2015-03-07 13:09:09 +00:00
parent 56b96107d7
commit 967f134dec
3 changed files with 3 additions and 4 deletions
@@ -113,7 +113,6 @@ class StatelessWiredConnector<K extends BytesMarshallable, V extends BytesMarsha
this.key = key;
final int len = readSocket(socketChannel);
System.out.println("len-read=" + len);
if (len == -1 || len == 0)
return len;
@@ -2266,7 +2266,7 @@ class StatelessServerConnector<K, V> {
if (LOG.isDebugEnabled()) {
out.position(locationOfSize);
out.limit(pos);
LOG.info("Sending to the stateless client, bytes=" + AbstractBytes.toHex(out) + "," +
LOG.debug("Sending to the stateless client, bytes=" + AbstractBytes.toHex(out) + "," +
"len=" + out.remaining());
out.limit(limit);
out.position(pos);
@@ -475,7 +475,7 @@ public class WiredStatelessClientTcpConnectionHub {
while (buffer.position() < requiredNumberOfBytes) {
int len = clientChannel.read(inWireByteBuffer());
System.out.println("len=" + len);
if (len == -1)
throw new IORuntimeException("Disconnection to server");
@@ -520,7 +520,7 @@ public class WiredStatelessClientTcpConnectionHub {
while (outBuffer.remaining() > 0) {
int len = clientChannel.write(outBuffer);
System.out.println("write-len" + len);
if (len == -1)
throw new IORuntimeException("Disconnection to server");