Refine warning message.
This commit is contained in:
Jan Bartel 2016-10-13 15:25:45 +11:00
parent 37ec4160bb
commit 5a85c33e6e
1 changed files with 1 additions and 1 deletions

View File

@ -1517,7 +1517,7 @@ public class ServletHandler extends ScopedHandler
finalMapping = mapping; finalMapping = mapping;
else if (isAllowDuplicateMappings()) else if (isAllowDuplicateMappings())
{ {
LOG.warn("Multiple servlets map to path: "+pathSpec+": "+finalMapping.getServletName()+","+mapping.getServletName()); LOG.warn("Multiple servlets map to path {}: {} and {}, choosing {}", pathSpec, finalMapping.getServletName(), mapping.getServletName(), mapping);
finalMapping = mapping; finalMapping = mapping;
} }
else else