-
Improvement
-
Resolution: Done
-
Medium
-
None
-
Operating System: All
Platform: All
In a real prod environment its imperative to extract an audit trail of connection and disconnection events. Other events might also be important.
Some options to consider are
1. Have a keyword in the logs to identify its a connection event.
2. Put JMX metrics for this events (keeping a history will be difficult here)
3. Store these events in Datastore - this might be an overkill, and there are other better systems than our in-mem datastore for this purpose.
For now option 1 seems to be a low hanging fruit, for now.