Instated some debug logging. Some day maybe I'll make it easy to enable debug

logging in a fine-grained way in a running server.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5744 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-04-24 19:03:17 +00:00
parent 6fe7159b4c
commit 510ddbb717
@@ -83,7 +83,7 @@ public class InvocationManager
invobj.addListener(this); invobj.addListener(this);
_invoid = invobj.getOid(); _invoid = invobj.getOid();
// log.info("Created invocation service object", "oid", _invoid); log.debug("Created invocation service object", "oid", _invoid);
} }
/** /**
@@ -151,7 +151,7 @@ public class InvocationManager
_recentRegServices.put(Integer.valueOf(invCode), marsh.getClass().getName()); _recentRegServices.put(Integer.valueOf(invCode), marsh.getClass().getName());
// log.info("Registered service", "marsh", marsh); log.debug("Registered service", "code", invCode, "marsh", marsh);
return marsh; return marsh;
} }
@@ -205,7 +205,7 @@ public class InvocationManager
// documentation inherited from interface // documentation inherited from interface
public void eventReceived (DEvent event) public void eventReceived (DEvent event)
{ {
// log.info("Event received " + event + "."); log.debug("Event received", "event", event);
if (event instanceof InvocationRequestEvent) { if (event instanceof InvocationRequestEvent) {
InvocationRequestEvent ire = (InvocationRequestEvent)event; InvocationRequestEvent ire = (InvocationRequestEvent)event;
@@ -255,8 +255,8 @@ public class InvocationManager
} }
} }
// log.debug("Dispatching invreq", "caller", source.who(), "disp", disp, log.debug("Dispatching invreq", "caller", source.who(), "disp", disp,
// "methId", methodId, "args", args); "methId", methodId, "args", args);
// dispatch the request // dispatch the request
try { try {