HADOOP-10332. HttpServer's jetty audit log always logs 200 OK (jeagles)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1577220 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87866d4a56
commit
b44b648d08
|
@ -2675,6 +2675,8 @@ Release 0.23.11 - UNRELEASED
|
|||
|
||||
HADOOP-10129. Distcp may succeed when it fails (daryn)
|
||||
|
||||
HADOOP-10332. HttpServer's jetty audit log always logs 200 OK (jeagles)
|
||||
|
||||
Release 0.23.10 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -372,7 +372,7 @@ public final class HttpServer2 implements FilterContainer {
|
|||
RequestLogHandler requestLogHandler = new RequestLogHandler();
|
||||
requestLogHandler.setRequestLog(requestLog);
|
||||
HandlerCollection handlers = new HandlerCollection();
|
||||
handlers.setHandlers(new Handler[] { requestLogHandler, contexts });
|
||||
handlers.setHandlers(new Handler[] {contexts, requestLogHandler});
|
||||
webServer.setHandler(handlers);
|
||||
} else {
|
||||
webServer.setHandler(contexts);
|
||||
|
|
Loading…
Reference in New Issue