Log the registration and clearing of proxied object as we're seeing some

strangeness in production on Bang.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4738 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-06-15 16:44:09 +00:00
parent d1313d2296
commit 20e70a9735
@@ -137,6 +137,9 @@ public class PresentsDObjectMgr
// and note a proxy reference for the object which we'll use to forward events back to its // and note a proxy reference for the object which we'll use to forward events back to its
// originating manager after converting them back to the original oid // originating manager after converting them back to the original oid
_proxies.put(object.getOid(), new ProxyReference(origObjectId, omgr)); _proxies.put(object.getOid(), new ProxyReference(origObjectId, omgr));
// TEMP: report what we're doing as we're seeing funny business
log.info("Registered proxy object [type=" + object.getClass().getName() +
", remoid=" + origObjectId + ", locoid=" + object.getOid() + "].");
} }
/** /**
@@ -150,6 +153,9 @@ public class PresentsDObjectMgr
log.warning("Missing proxy mapping for cleared proxy [ooid=" + origObjectId + "]."); log.warning("Missing proxy mapping for cleared proxy [ooid=" + origObjectId + "].");
} }
_objects.remove(object.getOid()); _objects.remove(object.getOid());
// TEMP: report what we're doing as we're seeing funny business
log.info("Clearing proxy object [type=" + object.getClass().getName() +
", remoid=" + origObjectId + ", locoid=" + object.getOid() + "].");
} }
// from interface DObjectManager // from interface DObjectManager