-
- change slightly connectionId in IOService to favour CIDs in case of s2s connection (with UUID added there constantly)
- pass the ID to the SocketIO and include it in the logs as well
- switched all CM logs and placed service information/debug last so the actual log entry message would be readily visible
- change slightly connectionId in IOService to favour CIDs in case of s2s connection (with UUID added there constantly)
Type |
Task
|
Priority |
Minor
|
Assignee | |
Version |
tigase-server-8.2.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
In #servers-319 @andrzej.wojcik improved logging for disconnected sockets to help with identification of them to avoid
Socket[unconnected]
. However, it's not ideal - in connected sockets i leads to duplication of information (10.0.4.39_26272_89.238.76.44_5269/355be644-5f6a-4b3a-b58c-0d024e9f24ed Socket[addr=/89.238.76.44,port=5269,localport=26272]
) without much benefit.It would be better to cache Socket output in
tigase.io.SocketIO#toString
(and indicated whether it's connected/disconnected) and as a logID use CID/JID (if available) and UUID