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: [email protected]
For additional commands, e-mail: [email protected]