HDFS-11593. Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug. Contributed by Xiaobing Zhou.

This commit is contained in:
Xiaoyu Yao 2017-05-01 16:12:51 -07:00
parent a3a615eeab
commit 1058b40843

View File

@ -144,7 +144,9 @@ public void channelInactive(ChannelHandlerContext ctx) {
@Override
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) {
proxiedChannel.close();
proxiedChannel = null;