You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/03/26 16:15:14 UTC

[3/4] struts git commit: Adds additional logging when locating definitions

Adds additional logging when locating definitions


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/f04eb383
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/f04eb383
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/f04eb383

Branch: refs/heads/master
Commit: f04eb3831a0053c36f8ae8901a1a573c5f974d8a
Parents: 42192a5
Author: Lukasz Lenart <lu...@apache.org>
Authored: Sat Mar 26 15:36:14 2016 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Sat Mar 26 15:36:14 2016 +0100

----------------------------------------------------------------------
 .../struts2/tiles/StrutsWildcardServletApplicationContext.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/f04eb383/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java
----------------------------------------------------------------------
diff --git a/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java b/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java
index 0fa1bc3..70a21ed 100644
--- a/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java
+++ b/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java
@@ -115,6 +115,8 @@ public class StrutsWildcardServletApplicationContext extends ServletApplicationC
         Pattern pattern = WildcardUtil.compileWildcardPattern(path);
         Map<String, URL> matches = finder.getResourcesMap("");
 
+        LOG.trace("Found resources {} matching pattern {}", matches, path);
+
         for (String resource : matches.keySet()) {
             if (pattern.matcher(resource).matches()) {
                 URL url = matches.get(resource);