Jetty9 - Added logging.

This commit is contained in:
Simone Bordet 2012-08-10 10:31:35 +02:00
parent 598292172f
commit cf5801f437
1 changed files with 3 additions and 1 deletions

View File

@ -127,12 +127,13 @@ public class ChannelEndPoint extends AbstractEndPoint
try try
{ {
int filled = _channel.read(buffer); int filled = _channel.read(buffer);
LOG.debug("filled {} {}", filled, this);
if (filled>0) if (filled>0)
notIdle(); notIdle();
else if (filled==-1) else if (filled==-1)
shutdownInput(); shutdownInput();
return filled; return filled;
} }
catch(IOException e) catch(IOException e)
@ -171,6 +172,7 @@ public class ChannelEndPoint extends AbstractEndPoint
} }
} }
} }
LOG.debug("flushed {} {}", flushed, this);
} }
catch (ClosedChannelException | EOFException | SocketException e) catch (ClosedChannelException | EOFException | SocketException e)
{ {