From 510ddbb717c6c79a4f9caccaf4102b6488797d22 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 24 Apr 2009 19:03:17 +0000 Subject: [PATCH] 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 --- .../threerings/presents/server/InvocationManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/com/threerings/presents/server/InvocationManager.java b/src/java/com/threerings/presents/server/InvocationManager.java index 1197055de..c9246dd71 100644 --- a/src/java/com/threerings/presents/server/InvocationManager.java +++ b/src/java/com/threerings/presents/server/InvocationManager.java @@ -83,7 +83,7 @@ public class InvocationManager invobj.addListener(this); _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()); -// log.info("Registered service", "marsh", marsh); + log.debug("Registered service", "code", invCode, "marsh", marsh); return marsh; } @@ -205,7 +205,7 @@ public class InvocationManager // documentation inherited from interface public void eventReceived (DEvent event) { -// log.info("Event received " + event + "."); + log.debug("Event received", "event", event); if (event instanceof InvocationRequestEvent) { InvocationRequestEvent ire = (InvocationRequestEvent)event; @@ -255,8 +255,8 @@ public class InvocationManager } } -// log.debug("Dispatching invreq", "caller", source.who(), "disp", disp, -// "methId", methodId, "args", args); + log.debug("Dispatching invreq", "caller", source.who(), "disp", disp, + "methId", methodId, "args", args); // dispatch the request try {