HADOOP-10332. HttpServer's jetty audit log always logs 200 OK (jeagles)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1577221 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f5a157995
commit
e6111498f8
|
@ -2407,6 +2407,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