[Yanel-commits] rev 56584 - public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search

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


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

Modified:
   public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/XHTMLBeanContentHandler.java
Log:
log level fixed

Modified: public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/XHTMLBeanContentHandler.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/XHTMLBeanContentHandler.java	2011-02-07 21:01:31 UTC (rev 56583)
+++ public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/XHTMLBeanContentHandler.java	2011-02-07 21:02:55 UTC (rev 56584)
@@ -37,11 +37,11 @@
      *
      */
     public void startDocument () throws SAXException  { 
-        //log.warn("DEBUG: Hello from startDocument()!"); 
+        //log.debug("Hello from startDocument()!"); 
     }
 
     public void endDocument() throws SAXException {  
-        //log.warn("DEBUG: Hello from endDocument()!"); 
+        //log.debug("Hello from endDocument()!"); 
     }
 
     /**
@@ -49,8 +49,8 @@
      */
     public void startPrefixMapping (String prefix, String uri) throws SAXException {  
 /*
-        log.warn("DEBUG: Prefix: " + prefix);
-        log.warn("DEBUG: uri: " + uri);
+        log.debug("Prefix: " + prefix);
+        log.debug("uri: " + uri);
 */
     }
 
@@ -58,7 +58,7 @@
      *
      */
     public void endPrefixMapping (String prefix) throws SAXException  {  
-        //log.warn("DEBUG: Prefix: " + prefix);
+        //log.debug("Prefix: " + prefix);
     }
 
     /**
@@ -66,9 +66,9 @@
      */
     public void startElement (String uri, String localName, String qName, Attributes atts) throws SAXException {  
 /*
-        log.warn("DEBUG: Local name: " + localName);
-        log.warn("DEBUG: qName: " + qName);
-        log.warn("DEBUG: uri: " + uri);
+        log.debug("Local name: " + localName);
+        log.debug("qName: " + qName);
+        log.debug("uri: " + uri);
 */
         if (localName.equals("title")) {
             insideTitle = true;
@@ -85,7 +85,7 @@
      *
      */
     public void endElement (String uri, String localName, String qName) throws SAXException {  
-        //log.warn("DEBUG: Local name: " + localName); 
+        //log.debug("Local name: " + localName); 
         if (localName.equals("title")) {
             insideTitle = false;
         }
@@ -103,19 +103,19 @@
     public void characters (char ch[], int start, int length) throws SAXException {  
         if (insideTitle) {
             xhtmlBean.setTitle(new String(ch));
-            //log.warn("DEBUG: Title: " + new String(ch));
+            //log.debug("Title: " + new String(ch));
         }
         if (insideMeta) {
-            //log.warn("DEBUG: Meta: " + new String(ch));
+            //log.debug("Meta: " + new String(ch));
         }
         if (insidePara) {
-            //log.warn("DEBUG: Paragraph: " + new String(ch));
+            //log.debug("Paragraph: " + new String(ch));
         }
     }
 
     public void ignorableWhitespace (char ch[], int start, int length)
 	throws SAXException {  
-	  //log.warn("DEBUG: Hello from ignorableWhitespace()!"); 
+	  //log.debug("Hello from ignorableWhitespace()!"); 
 	}
 
     public void processingInstruction (String target, String data)



More information about the Yanel-commits mailing list