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 @@ class SimpleHttpProxyHandler extends SimpleChannelInboundHandler<HttpRequest> {
|
||||||
|
|
||||||
@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