mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Include altSessionId in logs
Summary: Adds altSessionId to log output. Test Plan: Tested manually. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3355
This commit is contained in:
@@ -365,6 +365,8 @@ export class Client {
|
||||
meta.age = Math.floor(moment.duration(moment().diff(this._firstLoginAt)).asDays());
|
||||
}
|
||||
if (this._org) { meta.org = this._org; }
|
||||
const altSessionId = this.getAltSessionId();
|
||||
if (altSessionId) { meta.altSessionId = altSessionId; }
|
||||
meta.clientId = this.clientId; // identifies a client connection, essentially a websocket
|
||||
meta.counter = this._counter; // identifies a GristWSConnection in the connected browser tab
|
||||
return meta;
|
||||
|
||||
Reference in New Issue
Block a user