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:
@@ -102,7 +102,7 @@ public abstract class BureauDirector extends BasicDirector
|
||||
agent.init(agentObject);
|
||||
agent.start();
|
||||
} catch (Throwable t) {
|
||||
log.warning("Could not create agent [obj=" + agentObject + "]", t);
|
||||
log.warning("Could not create agent", "obj", agentObject, t);
|
||||
_bureauService.agentCreationFailed(_ctx.getClient(), oid);
|
||||
return;
|
||||
}
|
||||
@@ -116,7 +116,7 @@ public abstract class BureauDirector extends BasicDirector
|
||||
*/
|
||||
protected synchronized void requestFailed (int oid, ObjectAccessException cause)
|
||||
{
|
||||
log.warning("Could not subscribe to agent [oid=" + oid + "]", cause);
|
||||
log.warning("Could not subscribe to agent", "oid", oid, cause);
|
||||
}
|
||||
|
||||
@Override // from BasicDirector
|
||||
|
||||
@@ -43,8 +43,8 @@ public class BureauAuthenticator extends ChainedAuthenticator
|
||||
rsp.getData().code = AuthResponseData.SUCCESS;
|
||||
|
||||
} else {
|
||||
log.warning("Received invalid bureau auth request [creds=" +
|
||||
creds + "], problem: " + problem);
|
||||
log.warning("Received invalid bureau auth request",
|
||||
"creds", creds + "], problem: " + problem);
|
||||
rsp.getData().code = AuthCodes.SERVER_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user