Let's include the dropped message in the warning to help us figure out

what's being dropped in Project X.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6336 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2010-12-03 21:46:57 +00:00
parent f0860e3c57
commit ec989e68c2
@@ -874,7 +874,8 @@ public class PresentsSession
// don't log dropped messages unless we're dropping a lot of them (meaning something is
// still queueing messages up for this dead client even though it shouldn't be)
if (++_messagesDropped % 50 == 0) {
log.warning("Dropping many messages?", "client", this, "count", _messagesDropped);
log.warning("Dropping many messages?", "client", this,
"count", _messagesDropped, "msg", msg);
}
// make darned sure we don't have any remaining subscriptions