Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
StompDecoder Logs Null Session IDs for Heartbeats [SPR-15937] #20491
When enabling the TRACE log level on the StompDecoder, a null session id is logged for heartbeats in the Spring WebSocket STOMP client.
Here is a logging sample:
Juergen Hoeller commented
Ah sorry, I meant to add that we're not logging "with session null" now anymore but rather just "Decoded heart-beat" in such a case.
In any case, the commit isn't pushed yet. Coming along with a few others later today.
Steve Roy commented
ok - I didn't see the commit so I was wondering what the status was.
Yes, the pending commit addresses the concern.
While developing / debugging it raises questions to see a null session id in the log statements. It looks like having the session id available to that location in the code would require some design / code re-organization for a minor issue. Just removing the session id from the log statement helps for now - thank you.