HDFS-11593. Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug. Contributed by Xiaobing Zhou.
This commit is contained in:
parent
a3a615eeab
commit
1058b40843
@ -144,7 +144,9 @@ public void channelInactive(ChannelHandlerContext ctx) {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
|
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
|
||||||
LOG.info("Proxy for " + uri + " failed. cause: ", cause);
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Proxy for " + uri + " failed. cause: ", cause);
|
||||||
|
}
|
||||||
if (proxiedChannel != null) {
|
if (proxiedChannel != null) {
|
||||||
proxiedChannel.close();
|
proxiedChannel.close();
|
||||||
proxiedChannel = null;
|
proxiedChannel = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user