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
1 changed files with 3 additions and 1 deletions

View File

@ -144,7 +144,9 @@ class SimpleHttpProxyHandler extends SimpleChannelInboundHandler<HttpRequest> {
@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;