rwaldhoff 01/08/08 14:23:40
Modified: httpclient/src/java/org/apache/commons/httpclient
HttpClient.java
Log:
another (the last for this file) case of if(debug > 1) converted to log.debug
Revision Changes Path
1.31 +4 -5
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java
Index: HttpClient.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- HttpClient.java 2001/08/08 20:35:12 1.30
+++ HttpClient.java 2001/08/08 21:23:40 1.31
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v
1.30 2001/08/08 20:35:12 rwaldhoff Exp $
- * $Revision: 1.30 $
- * $Date: 2001/08/08 20:35:12 $
+ * $Header:
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v
1.31 2001/08/08 21:23:40 rwaldhoff Exp $
+ * $Revision: 1.31 $
+ * $Date: 2001/08/08 21:23:40 $
*
* ====================================================================
*
@@ -596,8 +596,7 @@
if (connectionInterceptor != null) {
connectionInterceptor.error(method.getStatusCode(), e);
}
- if (debug > 1)
- e.printStackTrace();
+ log.debug("HttpClient.executeMethod(): IOException while executing
method, will close and try again.",e);
// If something goes wrong, disconnect, then reconnect
try {
closeConnection();