Jetty9 - Better logging.

This commit is contained in:
Simone Bordet 2012-08-28 11:56:37 +02:00
parent 6601b65162
commit 5aa3702606
1 changed files with 3 additions and 3 deletions

View File

@ -291,7 +291,7 @@ abstract public class WriteFlusher
{
if (LOG.isDebugEnabled())
LOG.debug("write: {} {}", this, BufferUtil.toDetailString(buffers));
if (!updateState(__IDLE,__WRITING))
throw new WritePendingException();
@ -343,7 +343,7 @@ abstract public class WriteFlusher
public void completeWrite()
{
LOG.debug("completeWrite: {}", this);
State previous = _state.get();
if (previous.getType()!=StateType.PENDING)
@ -388,7 +388,7 @@ abstract public class WriteFlusher
public void onFail(Throwable cause)
{
LOG.debug("failed: " + this, cause);
LOG.debug("failed: {} {}", this, cause);
// Keep trying to handle the failure until we get to IDLE or FAILED state
while(true)