Improved logging.
This commit is contained in:
parent
faec7259b2
commit
d55aaa4a0c
|
@ -150,7 +150,7 @@ public class BufferingFlowControlStrategy extends AbstractFlowControlStrategy
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
LOG.debug("Data consumed, stream recv window level {}/{} for {}", level, maxLevel, session);
|
LOG.debug("Data consumed, stream recv window level {}/{} for {}", level, maxLevel, stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,10 +202,11 @@ public class BufferingFlowControlStrategy extends AbstractFlowControlStrategy
|
||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
return String.format("%s@%x[ratio=%.2f,sessionStallTime=%dms,streamsStallTime=%dms]",
|
return String.format("%s@%x[ratio=%.2f,sessionLevel=%s,sessionStallTime=%dms,streamsStallTime=%dms]",
|
||||||
getClass().getSimpleName(),
|
getClass().getSimpleName(),
|
||||||
hashCode(),
|
hashCode(),
|
||||||
bufferRatio,
|
bufferRatio,
|
||||||
|
sessionLevel,
|
||||||
getSessionStallTime(),
|
getSessionStallTime(),
|
||||||
getStreamsStallTime());
|
getStreamsStallTime());
|
||||||
}
|
}
|
||||||
|
|
|
@ -276,4 +276,10 @@ public class HttpChannelOverHTTP2 extends HttpChannel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return String.format("%s#%d", super.toString(), getStream().getId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue