[Yanel-commits] rev 56595 - public/yanel/trunk/src/core/java/org/wyona/yanel/core/transformation

michi at wyona.com michi at wyona.com
Mon Feb 7 22:11:22 CET 2011


Author: michi
Date: 2011-02-07 22:11:22 +0100 (Mon, 07 Feb 2011)
New Revision: 56595

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/transformation/AccessControlTransformer.java
Log:
log level fixed

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/transformation/AccessControlTransformer.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/transformation/AccessControlTransformer.java	2011-02-07 21:10:52 UTC (rev 56594)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/transformation/AccessControlTransformer.java	2011-02-07 21:11:22 UTC (rev 56595)
@@ -75,9 +75,9 @@
      *
      */
     public void startElement(String namespaceURI, String localName, String qName, Attributes attrs) throws SAXException {
-        //log.error("DEBUG: Start element: " + localName + ", " + qName);
+        //log.debug("Start element: " + localName + ", " + qName);
         numberOfNestedElements = numberOfNestedElements + 1;
-        //log.error("DEBUG: Number of nested elements: " + numberOfNestedElements);
+        //log.debug("Number of nested elements: " + numberOfNestedElements);
 
 
         if (bufferEnabled && isAnchorElement(namespaceURI, localName, qName)) {
@@ -136,7 +136,7 @@
 
         if (bufferEnabled || !accessGranted) {
         //if (bufferEnabled || accessDenied) {
-            //log.error("DEBUG: Do nothing and just dump start of element: <" + localName + " ...>");
+            //log.debug("Do nothing and just dump start of element: <" + localName + " ...>");
         } else {
             super.startElement(namespaceURI, localName, qName, attrs);
         }
@@ -146,7 +146,7 @@
      *
      */
     public void endElement(String namespaceURI, String localName, String qName) throws SAXException {
-        //log.error("DEBUG: End element: " + localName + ", " + qName);
+        //log.debug("End element: " + localName + ", " + qName);
         numberOfNestedElements = numberOfNestedElements - 1;
 
 
@@ -172,12 +172,12 @@
 
         if (bufferEnabled || !accessGranted) {
         //if (bufferEnabled || accessDenied) {
-            //log.error("DEBUG: Do nothing and just dump end of element: </" + localName + ">");
+            //log.debug("Do nothing and just dump end of element: </" + localName + ">");
         } else {
             super.endElement(namespaceURI, localName, qName);
         }
 
-        //log.error("DEBUG: Number of nested elements: " + numberOfNestedElements);
+        //log.debug("Number of nested elements: " + numberOfNestedElements);
         if (isParentElement(namespaceURI, localName, qName) && numberOfNestedElements == -1 && !accessGranted) {
             accessGranted = true;
         }
@@ -194,7 +194,7 @@
     public void characters(char[] buf, int offset, int len) throws SAXException {
         if (!accessGranted) {
         //if (accessDenied) {
-            //log.error("DEBUG: Do nothing and just dump characters!");
+            //log.debug("Do nothing and just dump characters!");
         } else {
             super.characters(buf, offset, len);
         }



More information about the Yanel-commits mailing list