HTTP/2 Reduce Log Level
Motivation:
83c4aa6ad8
changed the log level to warn, but should have changed to debug.
Modifications:
- Change the log level to debug in Http2ConnectionHandler if the GO_AWAY fails to send. The write failure could be the result of the channel already being closed.
Result:
Fixes https://github.com/netty/netty/issues/4930.
This commit is contained in:
parent
c295f22390
commit
900353af52
@ -735,8 +735,8 @@ public class Http2ConnectionHandler extends ByteToMessageDecoder implements Http
|
||||
ctx.close();
|
||||
}
|
||||
} else {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("{} Sending GOAWAY failed: lastStreamId '{}', errorCode '{}', " +
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("{} Sending GOAWAY failed: lastStreamId '{}', errorCode '{}', " +
|
||||
"debugData '{}'. Forcing shutdown of the connection.",
|
||||
ctx.channel(), lastStreamId, errorCode, debugData.toString(UTF_8), future.cause());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user