SubProtocolWebSocketHandler should not log ERROR on "No messages received after ..." [SPR-16409] #20955
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Stefan Norberg opened SPR-16409 and commented
SubProtocolWebSocketHandler log level seems off for:
spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandler.java
Line 473 in 4b861ae
I feel that this log message should be logged on INFO (or possibly WARN) rather than ERROR:
ERROR o.s.w.s.m.SubProtocolWebSocketHandler - No messages received after 102078 ms. Closing WebSocketServerSockJsSession[id=m5sjshh2]
Affects: 4.3.14, 5.0 GA
Reference URL:
spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandler.java
Line 473 in 4b861ae
Issue Links:
Referenced from: commits 8e2be91, 09cb7f4
Backported to: 4.3.15
The text was updated successfully, but these errors were encountered: