Debug logging tweaks

This commit is contained in:
Tony Garnock-Jones 2013-11-01 10:14:48 -04:00
parent 393dacde9b
commit 8f70962c38
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ WebSocketConnection.prototype.aggregateRoutes = function () {
r.metaLevel, r.metaLevel,
r.level)); r.level));
} }
// console.log("WebSocketConnection", this.label, rs); // console.log("WebSocketConnection.aggregateRoutes", this.label, rs);
return rs; return rs;
}; };
@ -221,7 +221,7 @@ WebSocketConnection.prototype.reconnect = function () {
}; };
WebSocketConnection.prototype.onopen = function (e) { WebSocketConnection.prototype.onopen = function (e) {
// console.log("onopen", e); console.log("connected to " + this.sock.url);
this.reconnectDelay = DEFAULT_RECONNECT_DELAY; this.reconnectDelay = DEFAULT_RECONNECT_DELAY;
this.sendLocalRoutes(); this.sendLocalRoutes();
}; };