HADOOP-7662. svn merge -c r1176849 --ignore-ancestry ../../trunk/

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1176852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinod Kumar Vavilapalli 2011-09-28 12:39:17 +00:00
parent e6f5bf6dd8
commit 0d329d55e9
2 changed files with 4 additions and 1 deletions

View File

@ -599,6 +599,9 @@ Release 0.23.0 - Unreleased
hadoop-common/src/main/packages/templates/conf/
(Ravi Prakash via stevel)
HADOOP-7662. Fixed logs servlet to use the pathspec '/*' instead of '/'
for correct filtering. (Thomas Graves via vinodkv)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -282,7 +282,7 @@ protected void addDefaultApps(ContextHandlerCollection parent,
if (logDir != null) {
Context logContext = new Context(parent, "/logs");
logContext.setResourceBase(logDir);
logContext.addServlet(AdminAuthorizedServlet.class, "/");
logContext.addServlet(AdminAuthorizedServlet.class, "/*");
logContext.setDisplayName("logs");
setContextAttributes(logContext, conf);
defaultContexts.put(logContext, true);