manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1837784 - /manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java
Date Fri, 10 Aug 2018 09:03:22 GMT
Author: kwright
Date: Fri Aug 10 09:03:21 2018
New Revision: 1837784

URL: http://svn.apache.org/viewvc?rev=1837784&view=rev
Log:
Use connector logger not root.

Modified:
    manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java

Modified: manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java?rev=1837784&r1=1837783&r2=1837784&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java
(original)
+++ manifoldcf/trunk/connectors/html-extractor/connector/src/main/java/org/apache/manifoldcf/agents/transformation/htmlextractor/HtmlExtractor.java
Fri Aug 10 09:03:21 2018
@@ -111,9 +111,9 @@ public class HtmlExtractor extends org.a
     final SpecPacker sp = new SpecPacker(pipelineDescription.getSpecification());
 
 
-    Logging.root.info("Processing by HTML Extractor");
+    Logging.connectors.debug("Processing by HTML Extractor");
     if (!(document.getMimeType().startsWith("text/html")) || (document.getMimeType().startsWith("application/xhtml+xml"))){
-      Logging.root.warn("no processing, mime type not html");
+      Logging.connectors.debug("no processing, mime type not html");
       resultCode = "NO HTML";
 
     }
@@ -121,7 +121,7 @@ public class HtmlExtractor extends org.a
     else {
       try
       {
-        Logging.root.info("Document recognized as HTML - processing");
+        Logging.connectors.debug("Document recognized as HTML - processing");
         long binaryLength = document.getBinaryLength();
 
 



Mime
View raw message