HDFS-3575. HttpFS does not log Exception Stacktraces (brocknoland via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1356330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28e8151ad3
commit
2b2344a57e
@ -91,7 +91,7 @@ protected void log(Response.Status status, Throwable throwable) {
|
|||||||
String path = MDC.get("path");
|
String path = MDC.get("path");
|
||||||
String message = getOneLineMessage(throwable);
|
String message = getOneLineMessage(throwable);
|
||||||
AUDIT_LOG.warn("FAILED [{}:{}] response [{}] {}", new Object[]{method, path, status, message});
|
AUDIT_LOG.warn("FAILED [{}:{}] response [{}] {}", new Object[]{method, path, status, message});
|
||||||
LOG.warn("[{}:{}] response [{}] {}", new Object[]{method, path, status, message, throwable});
|
LOG.warn("[{}:{}] response [{}] {}", new Object[]{method, path, status, message}, throwable);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -388,6 +388,8 @@ Branch-2 ( Unreleased changes )
|
|||||||
block in a namenode and the reported block from a datanode do not match.
|
block in a namenode and the reported block from a datanode do not match.
|
||||||
(Ashish Singhi via szetszwo)
|
(Ashish Singhi via szetszwo)
|
||||||
|
|
||||||
|
HDFS-3575. HttpFS does not log Exception Stacktraces (brocknoland via tucu)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||||
|
|
||||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||||
|
Loading…
Reference in New Issue
Block a user