Debug logging tweaks
This commit is contained in:
parent
393dacde9b
commit
8f70962c38
4
index.js
4
index.js
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue