Remove 'TEMP' logging from 2008-2009.
The proxy stuff shows up all the time in the px logs.
This commit is contained in:
@@ -176,9 +176,6 @@ public class PresentsDObjectMgr
|
||||
// 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
|
||||
_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());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -192,9 +189,6 @@ public class PresentsDObjectMgr
|
||||
log.warning("Missing proxy mapping for cleared proxy", "ooid", origObjectId);
|
||||
}
|
||||
_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
|
||||
|
||||
@@ -1243,9 +1243,6 @@ public class PresentsSession
|
||||
{
|
||||
// send a pong response using the transport with which the message was received
|
||||
PingRequest req = (PingRequest)msg;
|
||||
if (PING_DEBUG) {
|
||||
log.info("Got ping, ponging", "client", client.getAuthName());
|
||||
}
|
||||
client.safePostMessage(new PongResponse(req.getUnpackStamp(), req.getTransport()),
|
||||
client.getConnection());
|
||||
}
|
||||
@@ -1345,9 +1342,6 @@ public class PresentsSession
|
||||
/** Default period a user is allowed after disconn before their session is forcibly ended. */
|
||||
protected static final long DEFAULT_FLUSH_TIME = 7 * 60 * 1000L;
|
||||
|
||||
// TEMP
|
||||
protected static final boolean PING_DEBUG = Boolean.getBoolean("ping_debug");
|
||||
|
||||
// register our message dispatchers
|
||||
static {
|
||||
_disps.put(SubscribeRequest.class, new SubscribeDispatcher());
|
||||
|
||||
@@ -72,9 +72,6 @@ public class ServerCommunicator extends Communicator
|
||||
// outgoing traffic on this connection is used to prevent idleness
|
||||
// TODO: shouldn't PongResponse handle this?
|
||||
_lastEvent = System.currentTimeMillis();
|
||||
if (PING_DEBUG && msg instanceof PingRequest) { // TEMP
|
||||
log.info("Pinging on server comm " + msg);
|
||||
}
|
||||
}
|
||||
|
||||
@Override public void connectFailure (IOException ioe) {
|
||||
@@ -187,9 +184,6 @@ public class ServerCommunicator extends Communicator
|
||||
// now we can route all messages to the ClientDObjectMgr
|
||||
_conn.setMessageHandler(new PresentsConnection.MessageHandler() {
|
||||
public void handleMessage (Message message) {
|
||||
if (PING_DEBUG && message instanceof PongResponse) {
|
||||
log.info("Got pong from server " + message);
|
||||
}
|
||||
processMessage(message);
|
||||
}
|
||||
});
|
||||
@@ -213,7 +207,4 @@ public class ServerCommunicator extends Communicator
|
||||
protected PresentsConnection _conn;
|
||||
protected ClassLoader _loader;
|
||||
protected Exception _logonError;
|
||||
|
||||
// TEMP
|
||||
protected static final boolean PING_DEBUG = Boolean.getBoolean("ping_debug");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user