In with the new logging

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6092 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2010-07-09 23:33:38 +00:00
parent 46835601af
commit b8e029fdad
3 changed files with 7 additions and 12 deletions
@@ -80,9 +80,8 @@ public class PlaceViewUtil
(root as PlaceView)[funct](plobj); (root as PlaceView)[funct](plobj);
} catch (e :Error) { } catch (e :Error) {
var log :Log = Log.getLog(PlaceViewUtil); var log :Log = Log.getLog(PlaceViewUtil);
log.warning("Component choked on " + funct + "() " + log.warning("Component choked on " + funct + "() ", "component", root,
"[component=" + root + ", plobj=" + plobj + "]."); "plobj", plobj, e);
log.logStackTrace(e);
} }
} }
@@ -225,9 +225,7 @@ public class ClientDObjectMgr
} }
} catch (e :Error) { } catch (e :Error) {
log.warning("Failure processing event [event=" + event + log.warning("Failure processing event", "event", event, "target", target, e);
", target=" + target + "].");
log.logStackTrace(e);
} }
} }
@@ -257,9 +257,8 @@ public class InvocationDirector
try { try {
listener.dispatchResponse(methodId, args); listener.dispatchResponse(methodId, args);
} catch (e :Error) { } catch (e :Error) {
log.warning("Invocation response listener choked [listener=" + listener + log.warning("Invocation response listener choked", "listener", listener,
", methId=" + methodId + ", args=" + args + "]."); "methId", methodId, "args", args, e);
log.logStackTrace(e);
} }
// flush expired listeners periodically // flush expired listeners periodically
@@ -293,9 +292,8 @@ public class InvocationDirector
try { try {
decoder.dispatchNotification(methodId, args); decoder.dispatchNotification(methodId, args);
} catch (e :Error) { } catch (e :Error) {
log.warning("Invocation notification receiver choked [receiver=" + decoder.receiver + log.warning("Invocation notification receiver choked", "receiver", decoder.receiver,
", methId=" + methodId + ", args=" + args + "]."); "methId", methodId, "args", args, e);
log.logStackTrace(e);
} }
} }