manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1532155 - in /manifoldcf/trunk: CHANGES.txt connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Tue, 15 Oct 2013 00:29:20 GMT
Author: kwright
Date: Tue Oct 15 00:29:19 2013
New Revision: 1532155

URL: http://svn.apache.org/r1532155
Log:
Fix for CONNECTORS-785

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1532155&r1=1532154&r2=1532155&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Oct 15 00:29:19 2013
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 1.4-dev =====================
 
+CONNECTORS-785: Turn of debug logging for Axis configuration
+exception, to remove spurious log noise.
+(Karl Wright)
+
 CONNECTORS-771: Include new versions of SharePoint plugins in
 distribution.
 (Karl Wright)

Modified: manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1532155&r1=1532154&r2=1532155&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Tue Oct 15 00:29:19 2013
@@ -39,6 +39,9 @@ import java.util.HashSet;
 import java.util.concurrent.TimeUnit;
 import java.net.*;
 
+import org.apache.log4j.Logger;
+import org.apache.log4j.Level;
+
 import org.apache.http.conn.ClientConnectionManager;
 import org.apache.http.client.HttpClient;
 import org.apache.http.impl.conn.PoolingClientConnectionManager;
@@ -129,6 +132,13 @@ public class SharePointRepository extend
     }
   }
 
+  // Turn off AXIS debug output that we don't want
+  static
+  {
+    Logger logger = Logger.getLogger("org.apache.axis.ConfigurationException");
+    logger.setLevel(Level.INFO);
+  }
+  
   /** Deny access token for default authority */
   private final static String defaultAuthorityDenyToken = GLOBAL_DENY_TOKEN;
 



Mime
View raw message