You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/11/28 05:27:32 UTC
svn commit: r349362 - in
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server:
SimpleConnectionThread.java SimpleHttpServer.java
Author: dims
Date: Sun Nov 27 20:27:30 2005
New Revision: 349362
URL: http://svn.apache.org/viewcvs?rev=349362&view=rev
Log:
adjust a few more log statements.
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleConnectionThread.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleHttpServer.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleConnectionThread.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleConnectionThread.java?rev=349362&r1=349361&r2=349362&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleConnectionThread.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleConnectionThread.java Sun Nov 27 20:27:30 2005
@@ -96,8 +96,8 @@
} while (this.conn.isKeepAlive());
} catch (InterruptedIOException e) {
} catch (IOException e) {
- if (!this.stopped && !Thread.interrupted() && LOG.isWarnEnabled()) {
- LOG.warn("[" + this.name + "] I/O error: " + e.getMessage());
+ if (!this.stopped && !Thread.interrupted() && LOG.isDebugEnabled()) {
+ LOG.debug("[" + this.name + "] I/O error: " + e.getMessage());
}
} finally {
destroy();
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleHttpServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleHttpServer.java?rev=349362&r1=349361&r2=349362&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleHttpServer.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/server/SimpleHttpServer.java Sun Nov 27 20:27:30 2005
@@ -247,16 +247,8 @@
conn,
this.connections,
this.requestHandler));
-/* Thread t = new SimpleConnectionThread(
- tg,
- this.testname + " thread " + this.count,
- conn,
- this.connections,
- this.requestHandler);
- t.setDaemon(true);
- t.start();*/
} catch (IOException e) {
- LOG.error("I/O error: " + e.getMessage());
+ LOG.debug("I/O error: " + e.getMessage());
}
this.count++;
Thread.sleep(100);
@@ -264,7 +256,7 @@
} catch (InterruptedException accept) {
} catch (IOException e) {
if (!stopped) {
- LOG.error("I/O error: " + e.getMessage());
+ LOG.debug("I/O error: " + e.getMessage());
}
} finally {
destroy();