Relegated a shitload of logging to DEBUG status.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1361 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ChatService.java,v 1.6 2001/10/11 04:07:51 mdb Exp $
|
||||
// $Id: ChatService.java,v 1.7 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.chat;
|
||||
|
||||
@@ -35,8 +35,8 @@ public class ChatService implements ChatCodes
|
||||
{
|
||||
InvocationDirector invdir = client.getInvocationDirector();
|
||||
Object[] args = new Object[] { target, message };
|
||||
Log.info("Sending tell request [tgt=" + target +
|
||||
", msg=" + message + "].");
|
||||
Log.debug("Sending tell request [tgt=" + target +
|
||||
", msg=" + message + "].");
|
||||
return invdir.invoke(MODULE_NAME, TELL_REQUEST, args, rsptarget);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: LocationService.java,v 1.5 2002/04/15 16:28:01 shaper Exp $
|
||||
// $Id: LocationService.java,v 1.6 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.client;
|
||||
|
||||
@@ -28,6 +28,6 @@ public class LocationService implements LocationCodes
|
||||
InvocationDirector invdir = client.getInvocationDirector();
|
||||
Object[] args = new Object[] { new Integer(placeId) };
|
||||
invdir.invoke(MODULE_NAME, MOVE_TO_REQUEST, args, rsptarget);
|
||||
Log.info("Sent moveTo request [place=" + placeId + "].");
|
||||
Log.debug("Sent moveTo request [place=" + placeId + "].");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: FrameManager.java,v 1.7 2002/05/03 04:16:41 mdb Exp $
|
||||
// $Id: FrameManager.java,v 1.8 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.media;
|
||||
|
||||
@@ -269,14 +269,14 @@ public class FrameManager
|
||||
|
||||
// if we've changed resolutions, recreate the buffer
|
||||
if (valres == VolatileImage.IMAGE_INCOMPATIBLE) {
|
||||
Log.info("Back buffer incompatible, recreating.");
|
||||
// Log.info("Back buffer incompatible, recreating.");
|
||||
createBackBuffer(gc);
|
||||
}
|
||||
|
||||
// if the image wasn't A-OK, we need to rerender the whole
|
||||
// business rather than just the dirty parts
|
||||
if (valres != VolatileImage.IMAGE_OK) {
|
||||
Log.info("Lost back buffer, redrawing.");
|
||||
// Log.info("Lost back buffer, redrawing.");
|
||||
incremental = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: LobbyService.java,v 1.2 2001/10/11 04:13:33 mdb Exp $
|
||||
// $Id: LobbyService.java,v 1.3 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.micasa.lobby;
|
||||
|
||||
@@ -31,7 +31,7 @@ public class LobbyService
|
||||
public static int getCategories (Client client, Object rsptarget)
|
||||
{
|
||||
InvocationDirector invdir = client.getInvocationDirector();
|
||||
Log.info("Sending get categories.");
|
||||
Log.debug("Sending get categories.");
|
||||
return invdir.invoke(
|
||||
MODULE_NAME, GET_CATEGORIES_REQUEST, null, rsptarget);
|
||||
}
|
||||
@@ -55,7 +55,7 @@ public class LobbyService
|
||||
{
|
||||
InvocationDirector invdir = client.getInvocationDirector();
|
||||
Object[] args = new Object[] { category };
|
||||
Log.info("Sending get lobbies [category=" + category + "].");
|
||||
Log.debug("Sending get lobbies [category=" + category + "].");
|
||||
return invdir.invoke(
|
||||
MODULE_NAME, GET_LOBBIES_REQUEST, args, rsptarget);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Communicator.java,v 1.17 2002/03/15 19:11:14 mdb Exp $
|
||||
// $Id: Communicator.java,v 1.18 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.presents.client;
|
||||
|
||||
@@ -137,7 +137,7 @@ public class Communicator
|
||||
*/
|
||||
protected synchronized void logonSucceeded (AuthResponseData data)
|
||||
{
|
||||
Log.info("Logon succeeded: " + data);
|
||||
Log.debug("Logon succeeded: " + data);
|
||||
|
||||
// create our distributed object manager
|
||||
_omgr = new ClientDObjectMgr(this, _client);
|
||||
@@ -165,7 +165,7 @@ public class Communicator
|
||||
return;
|
||||
}
|
||||
|
||||
Log.info("Connection failed: " + ioe);
|
||||
Log.debug("Connection failed: " + ioe);
|
||||
|
||||
// let the client know that things went south
|
||||
_client.notifyObservers(Client.CLIENT_CONNECTION_FAILED, ioe);
|
||||
@@ -186,7 +186,7 @@ public class Communicator
|
||||
return;
|
||||
}
|
||||
|
||||
Log.info("Connection closed.");
|
||||
Log.debug("Connection closed.");
|
||||
// now do the whole logoff thing
|
||||
logoff();
|
||||
}
|
||||
@@ -202,7 +202,7 @@ public class Communicator
|
||||
// let the client know when we finally go away
|
||||
_client.communicatorDidExit();
|
||||
|
||||
Log.info("Reader thread exited.");
|
||||
Log.debug("Reader thread exited.");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -212,7 +212,7 @@ public class Communicator
|
||||
{
|
||||
// clear out our writer reference
|
||||
_writer = null;
|
||||
Log.info("Writer thread exited.");
|
||||
Log.debug("Writer thread exited.");
|
||||
|
||||
// now that the writer thread has gone away, we can safely close
|
||||
// our socket and let the client know that the logoff process has
|
||||
@@ -289,7 +289,7 @@ public class Communicator
|
||||
logon();
|
||||
|
||||
} catch (Exception e) {
|
||||
Log.info("Logon failed: " + e);
|
||||
Log.debug("Logon failed: " + e);
|
||||
// let the observers know that we've failed
|
||||
_client.notifyObservers(Client.CLIENT_FAILED_TO_LOGON, e);
|
||||
// and terminate our communicator thread
|
||||
@@ -310,8 +310,8 @@ public class Communicator
|
||||
int port = _client.getPort();
|
||||
|
||||
// establish a socket connection to said server
|
||||
Log.info("Connecting to server [host=" + host +
|
||||
", port=" + port + "].");
|
||||
Log.debug("Connecting to server [host=" + host +
|
||||
", port=" + port + "].");
|
||||
_socket = new Socket(host, port);
|
||||
|
||||
// get a handle on our input and output streams
|
||||
@@ -334,10 +334,10 @@ public class Communicator
|
||||
sendMessage(req);
|
||||
|
||||
// now wait for the auth response
|
||||
Log.info("Waiting for auth response.");
|
||||
Log.debug("Waiting for auth response.");
|
||||
AuthResponse rsp = (AuthResponse)receiveMessage();
|
||||
AuthResponseData data = rsp.getData();
|
||||
Log.info("Got auth response: " + data);
|
||||
Log.debug("Got auth response: " + data);
|
||||
|
||||
// if the auth request failed, we want to let the communicator
|
||||
// know by throwing a logon exception
|
||||
@@ -371,7 +371,7 @@ public class Communicator
|
||||
// somebody set up us the bomb! we've been interrupted
|
||||
// which means that we're being shut down, so we just
|
||||
// report it and return from iterate() like a good monkey
|
||||
Log.info("Reader thread woken up in time to die.");
|
||||
Log.debug("Reader thread woken up in time to die.");
|
||||
|
||||
} catch (EOFException eofe) {
|
||||
// let the communicator know that our connection was
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SceneService.java,v 1.7 2002/04/26 00:07:05 ray Exp $
|
||||
// $Id: SceneService.java,v 1.8 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.client;
|
||||
|
||||
@@ -30,7 +30,7 @@ public class SceneService implements SceneCodes
|
||||
Object[] args = new Object[] {
|
||||
new Integer(sceneId), new Integer(sceneVers) };
|
||||
invdir.invoke(MODULE_NAME, MOVE_TO_REQUEST, args, rsptarget);
|
||||
Log.info("Sent moveTo request [scene=" + sceneId +
|
||||
", version=" + sceneVers + "].");
|
||||
Log.debug("Sent moveTo request [scene=" + sceneId +
|
||||
", version=" + sceneVers + "].");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SpotService.java,v 1.7 2002/04/29 21:03:00 ray Exp $
|
||||
// $Id: SpotService.java,v 1.8 2002/05/15 23:54:34 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.spot.client;
|
||||
|
||||
@@ -31,8 +31,8 @@ public class SpotService implements SpotCodes
|
||||
new Integer(sceneId), new Integer(portalId),
|
||||
new Integer(sceneVer) };
|
||||
invdir.invoke(MODULE_NAME, TRAVERSE_PORTAL_REQUEST, args, rsptarget);
|
||||
Log.info("Sent traversePortal request [sceneId=" + sceneId +
|
||||
", portalId=" + portalId + ", sceneVer=" + sceneVer + "].");
|
||||
Log.debug("Sent traversePortal request [sceneId=" + sceneId +
|
||||
", portalId=" + portalId + ", sceneVer=" + sceneVer + "].");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -46,8 +46,8 @@ public class SpotService implements SpotCodes
|
||||
Object[] args = new Object[] { new Integer(sceneId),
|
||||
new Integer(locationId) };
|
||||
invdir.invoke(MODULE_NAME, CHANGE_LOC_REQUEST, args, rsptarget);
|
||||
Log.info("Sent changeLoc request [sceneId=" + sceneId +
|
||||
", locId=" + locationId + "].");
|
||||
Log.debug("Sent changeLoc request [sceneId=" + sceneId +
|
||||
", locId=" + locationId + "].");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,7 +62,7 @@ public class SpotService implements SpotCodes
|
||||
Object[] args = new Object[] {
|
||||
new Integer(sceneId), new Integer(locationId), message };
|
||||
invdir.invoke(MODULE_NAME, CLUSTER_SPEAK_REQUEST, args, rsptarget);
|
||||
Log.info("Sent clusterSpeak request [sceneId=" + sceneId +
|
||||
", locId=" + locationId + ", message=" + message + "].");
|
||||
Log.debug("Sent clusterSpeak request [sceneId=" + sceneId +
|
||||
", locId=" + locationId + ", message=" + message + "].");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ZoneService.java,v 1.4 2002/04/16 17:36:17 mdb Exp $
|
||||
// $Id: ZoneService.java,v 1.5 2002/05/15 23:54:35 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.zone.client;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class ZoneService implements ZoneCodes
|
||||
Object[] args = new Object[] {
|
||||
new Integer(zoneId), new Integer(sceneId), new Integer(sceneVers) };
|
||||
invdir.invoke(MODULE_NAME, MOVE_TO_REQUEST, args, rsptarget);
|
||||
Log.info("Sent moveTo request [zone=" + zoneId +
|
||||
", scene=" + sceneId + ", version=" + sceneVers + "].");
|
||||
Log.debug("Sent moveTo request [zone=" + zoneId +
|
||||
", scene=" + sceneId + ", version=" + sceneVers + "].");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user