ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r588758 - /webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java
Date Fri, 26 Oct 2007 19:29:16 GMT
Author: kstam
Date: Fri Oct 26 12:29:15 2007
New Revision: 588758

URL: http://svn.apache.org/viewvc?rev=588758&view=rev
Log:
SCOUT-51, fixing debug level logging to make it easier to understand what's going on.

Modified:
    webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java

Modified: webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java
URL: http://svn.apache.org/viewvc/webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java?rev=588758&r1=588757&r2=588758&view=diff
==============================================================================
--- webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java
(original)
+++ webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/transport/AxisTransport.java
Fri Oct 26 12:29:15 2007
@@ -49,8 +49,10 @@
     Call call = null;
     Element response = null;
 
-    log.debug("\nRequest message:\n" + XMLUtils.ElementToString(request));
-    System.err.println(endpointURL.toString());
+    if (log.isDebugEnabled()) {
+        log.debug("\nRequest message:\n" + XMLUtils.ElementToString(request));
+        log.debug(endpointURL.toString());
+    }
 
     try {
       service = new Service();
@@ -80,7 +82,9 @@
       throw new RegistryException(ex);
     }
 
-    log.debug("\nResponse message:\n" + XMLUtils.ElementToString(response));
+    if (log.isDebugEnabled()) {
+        log.debug("\nResponse message:\n" + XMLUtils.ElementToString(response));
+    }
 
 
     return response;



---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Mime
View raw message