chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1214485 - /chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java
Date Wed, 14 Dec 2011 21:33:38 GMT
Author: fmui
Date: Wed Dec 14 21:33:37 2011
New Revision: 1214485

URL: http://svn.apache.org/viewvc?rev=1214485&view=rev
Log:
Added more tracing

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java?rev=1214485&r1=1214484&r2=1214485&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils.java
Wed Dec 14 21:33:37 2011
@@ -191,6 +191,11 @@ public class HttpUtils {
                 inputStream = conn.getInputStream();
             }
 
+            // log after connect
+            if (log.isTraceEnabled()) {
+                log.trace(method + " " + url + " > Headers: " + conn.getHeaderFields());
+            }
+
             // forward response HTTP headers
             if (authProvider != null) {
                 authProvider.putResponseHeaders(url.toString(), respCode, conn.getHeaderFields());



Mime
View raw message