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

michi at wyona.com michi at wyona.com
Wed Aug 5 16:27:45 CEST 2009


Author: michi
Date: 2009-08-05 16:27:45 +0200 (Wed, 05 Aug 2009)
New Revision: 44021

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

Modified: public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java	2009-08-05 14:26:33 UTC (rev 44020)
+++ public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java	2009-08-05 14:27:45 UTC (rev 44021)
@@ -196,7 +196,7 @@
      * @param mimeType Node content type
      */
     private String getTitle(String path, InputStream in, String mimeType) throws Exception {
-        log.warn("DEBUG: Get title of node: " + path);
+        log.debug("Get title of node: " + path);
         if (mimeType != null) {
             // TODO: Allow local tika config (or use one of data repository)
             org.apache.tika.parser.Parser parser = org.apache.tika.config.TikaConfig.getDefaultConfig().getParser(mimeType);
@@ -210,7 +210,7 @@
                     parser.parse(in, new TitleContentHandler(writer), tikaMetaData);
                     //parser.parse(in, new org.apache.tika.sax.BodyContentHandler(writer), tikaMetaData);
                     //parser.parse(in, new org.apache.tika.sax.WriteOutContentHandler(writer), tikaMetaData);
-                    log.warn("DEBUG: Title: " + writer.toString());
+                    log.debug("debug: Title: " + writer.toString());
                     return writer.toString();
                 } catch (Exception e) {
                     log.error(e, e);



More information about the Yanel-commits mailing list