|
@@ -258,23 +258,30 @@ public class LabelTypeHelper {
|
|
if (includedPaths.matcher(path).matches()) {
|
|
if (includedPaths.matcher(path).matches()) {
|
|
if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
|
|
if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
|
|
if (logger.isDebugEnabled()) {
|
|
if (logger.isDebugEnabled()) {
|
|
- logger.debug("Path {} matched against the excludes paths expression {}", path, excludedPaths);
|
|
|
|
|
|
+ logger.debug("Path {} matches the include/exclude path expression {} on {} of label.", path, excludedPaths,
|
|
|
|
+ value);
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (logger.isDebugEnabled()) {
|
|
|
|
+ logger.debug("Path {} matches the include path expression {} on {} of label.", path, excludedPaths, value);
|
|
|
|
+ }
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
if (logger.isDebugEnabled()) {
|
|
if (logger.isDebugEnabled()) {
|
|
- logger.debug("Path {} wasn't matched against the include paths expression {}", path, includedPaths);
|
|
|
|
|
|
+ logger.debug("Path {} does not match the include path expression {} on {} of label.", path, excludedPaths, value);
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
} else {
|
|
} else {
|
|
if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
|
|
if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
|
|
if (logger.isDebugEnabled()) {
|
|
if (logger.isDebugEnabled()) {
|
|
- logger.debug("Path {} matched against the excludes paths expression {}", path, excludedPaths);
|
|
|
|
|
|
+ logger.debug("Path {} matches the exclude path expression {} on {} of label.", path, excludedPaths, value);
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (logger.isDebugEnabled()) {
|
|
|
|
+ logger.debug("Path {} does not match the exclude path expression {} on {} of label.", path, excludedPaths, value);
|
|
|
|
+ }
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|