You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/05/11 03:49:54 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap MatchNode.java PreparableMatchNode.java
vgritsenko 2003/05/10 18:49:54
Modified: src/java/org/apache/cocoon/components/treeprocessor/sitemap
MatchNode.java PreparableMatchNode.java
Log:
make sitemap less verbose
Revision Changes Path
1.2 +3 -4 cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MatchNode.java
Index: MatchNode.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MatchNode.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MatchNode.java 9 Mar 2003 00:09:21 -0000 1.1
+++ MatchNode.java 11 May 2003 01:49:54 -0000 1.2
@@ -133,14 +133,13 @@
}
if (result != null) {
- if (getLogger().isInfoEnabled()) {
- getLogger().info("Matcher '" + this.componentName + "' matched pattern '" + this.pattern +
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Matcher '" + this.componentName + "' matched pattern '" + this.pattern +
"' at " + this.getLocation());
}
// Invoke children with the matcher results
return this.invokeNodes(children, env, context, name, result);
-
} else {
// Matcher failed
return false;
1.2 +3 -3 cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/PreparableMatchNode.java
Index: PreparableMatchNode.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/PreparableMatchNode.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PreparableMatchNode.java 9 Mar 2003 00:09:22 -0000 1.1
+++ PreparableMatchNode.java 11 May 2003 01:49:54 -0000 1.2
@@ -155,8 +155,8 @@
}
if (result != null) {
- if (getLogger().isInfoEnabled()) {
- getLogger().info("Matcher '" + this.componentName + "' matched prepared pattern '" +
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Matcher '" + this.componentName + "' matched prepared pattern '" +
this.pattern + "' at " + this.getLocation());
}