HADOOP-16243. Change Log Level to trace in NetUtils.java. Contributed by chencan.
This commit is contained in:
parent
feaab241e5
commit
87407553ef
@ -833,7 +833,7 @@ private static <T extends IOException> T wrapWithMessage(
|
|||||||
Throwable t = ctor.newInstance(msg);
|
Throwable t = ctor.newInstance(msg);
|
||||||
return (T)(t.initCause(exception));
|
return (T)(t.initCause(exception));
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
LOG.warn("Unable to wrap exception of type {}: it has no (String) "
|
LOG.trace("Unable to wrap exception of type {}: it has no (String) "
|
||||||
+ "constructor", clazz, e);
|
+ "constructor", clazz, e);
|
||||||
throw exception;
|
throw exception;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user