mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-4271 Improves pattern logging in JSONUtil
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1556509 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -476,8 +476,8 @@ public class JSONUtil {
|
||||
|
||||
private static void addPattern(List<Pattern> results, String pattern, String type) {
|
||||
results.add(REGEXP_PATTERN.equals(type) ? Pattern.compile(pattern) : WildcardUtil.compileWildcardPattern(pattern));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Adding include " + (REGEXP_PATTERN.equals(type) ? "property" : "wildcard") + " expression: " + pattern);
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace("Adding include " + (REGEXP_PATTERN.equals(type) ? "property" : "wildcard") + " expression: " + pattern);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user