You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/07/31 16:41:56 UTC

svn commit: r1508884 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java

Author: markt
Date: Wed Jul 31 14:41:55 2013
New Revision: 1508884

URL: http://svn.apache.org/r1508884
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55316
Log IO errors with client at debug. Client may simply have gone away.

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java?rev=1508884&r1=1508883&r2=1508884&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java Wed Jul 31 14:41:55 2013
@@ -468,7 +468,9 @@ public class WsSession implements Sessio
         } catch (IOException ioe) {
             // Failed to send close message. Close the socket and let the caller
             // deal with the Exception
-            log.error(sm.getString("wsSession.sendCloseFail"), ioe);
+            if (log.isDebugEnabled()) {
+                log.debug(sm.getString("wsSession.sendCloseFail"), ioe);
+            }
             wsRemoteEndpoint.close();
             localEndpoint.onError(this, ioe);
         } finally {



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