You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/java_websocket/AbstractWebSocket.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ public void setConnectionLostTimeout( int connectionLostTimeout ) {
119
119
}
120
120
}
121
121
} catch (Exceptione) {
122
-
log.error("Exception during connection lost restart: {}", e);
122
+
log.error("Exception during connection lost restart", e);
123
123
}
124
124
restartConnectionLostTimer();
125
125
}
@@ -174,13 +174,13 @@ public void run() {
174
174
if( conninstanceofWebSocketImpl ) {
175
175
webSocketImpl = ( WebSocketImpl ) conn;
176
176
if( webSocketImpl.getLastPong() < current ) {
177
-
log.warn("Closing connection due to no pong received: {}", conn);
177
+
log.trace("Closing connection due to no pong received: {}", conn);
178
178
webSocketImpl.closeConnection( CloseFrame.ABNORMAL_CLOSE, "The connection was closed because the other endpoint did not respond with a pong in time. For more information check: https://github.com/TooTallNate/Java-WebSocket/wiki/Lost-connection-detection" );
179
179
} else {
180
180
if( webSocketImpl.isOpen() ) {
181
181
webSocketImpl.sendPing();
182
182
} else {
183
-
log.warn("Trying to ping a non open connection: {}", conn);
183
+
log.trace("Trying to ping a non open connection: {}", conn);
0 commit comments