Varargified log calls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5697 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -96,7 +96,7 @@ public class BodyManager
|
||||
}
|
||||
|
||||
// update their status!
|
||||
log.debug("Setting user idle state [user=" + bobj.username + ", status=" + nstatus + "].");
|
||||
log.debug("Setting user idle state", "user", bobj.username, "status", nstatus);
|
||||
updateOccupantStatus(bobj, nstatus);
|
||||
}
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ public class LocationManager
|
||||
// make sure the place in question actually exists
|
||||
PlaceManager pmgr = _plreg.getPlaceManager(placeOid);
|
||||
if (pmgr == null) {
|
||||
log.info("Requested to move to non-existent place [who=" + source.who() +
|
||||
", placeOid=" + placeOid + "].");
|
||||
log.info("Requested to move to non-existent place", "who", source.who(),
|
||||
"placeOid", placeOid);
|
||||
throw new InvocationException(NO_SUCH_PLACE);
|
||||
}
|
||||
|
||||
@@ -90,8 +90,8 @@ public class LocationManager
|
||||
// because we don't need to update anything in distributed object world
|
||||
Place place = pmgr.getLocation();
|
||||
if (place.equals(source.location)) {
|
||||
log.debug("Going along with client request to move to where they already are " +
|
||||
"[source=" + source.who() + ", place=" + place + "].");
|
||||
log.debug("Going along with client request to move to where they already are",
|
||||
"source", source.who(), "place", place);
|
||||
return pmgr.getConfig();
|
||||
}
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ public class PlaceRegistry
|
||||
try {
|
||||
pmgr.shutdown();
|
||||
} catch (Exception e) {
|
||||
log.warning("Place manager failed shutting down [where=" + pmgr.where() + "].", e);
|
||||
log.warning("Place manager failed shutting down", "where", pmgr.where(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -222,7 +222,7 @@ public class PlaceRegistry
|
||||
pmgr.startup(plobj);
|
||||
|
||||
} catch (Exception e) {
|
||||
log.warning("Error starting place manager [obj=" + plobj + ", pmgr=" + pmgr + "].", e);
|
||||
log.warning("Error starting place manager", "obj", plobj, "pmgr", pmgr, e);
|
||||
}
|
||||
|
||||
return pmgr;
|
||||
@@ -258,7 +258,7 @@ public class PlaceRegistry
|
||||
int ploid = pmgr.getPlaceObject().getOid();
|
||||
// remove it from the table
|
||||
if (_pmgrs.remove(ploid) == null) {
|
||||
log.warning("Requested to unmap unmapped place manager [pmgr=" + pmgr + "].");
|
||||
log.warning("Requested to unmap unmapped place manager", "pmgr", pmgr);
|
||||
|
||||
// } else {
|
||||
// Log.info("Unmapped place manager [class=" + pmgr.getClass().getName() +
|
||||
|
||||
Reference in New Issue
Block a user