Skip to content

SubProtocolWebSocketHandler should not log ERROR on "No messages received after ..." [SPR-16409] #20955

@spring-projects-issues

Description

@spring-projects-issues

Stefan Norberg opened SPR-16409 and commented

SubProtocolWebSocketHandler log level seems off for:

logger.error("No messages received after " + timeSinceCreated + " ms. " +

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:

logger.error("No messages received after " + timeSinceCreated + " ms. " +

Issue Links:

Referenced from: commits 8e2be91, 09cb7f4

Backported to: 4.3.15

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions