From 5a85c33e6e3363073a9a5835793a6dff26696b15 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Thu, 13 Oct 2016 15:25:45 +1100 Subject: [PATCH] Issue #1000 Refine warning message. --- .../src/main/java/org/eclipse/jetty/servlet/ServletHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java index fbf1df40145..c3026d7b8c1 100644 --- a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java +++ b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java @@ -1517,7 +1517,7 @@ public class ServletHandler extends ScopedHandler finalMapping = mapping; 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; } else