mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-27 13:24:47 -04:00
dont log amt wsman end events
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
134ca4f025
commit
c6928846d0
@ -5003,6 +5003,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
||||
|
||||
// Log the disconnection
|
||||
if (ws.time) {
|
||||
if (req.query.p == 2) { // Only log event if Intel Redirection, otherwise hundreds of logs for WSMAN are recorded
|
||||
var msg = 'Ended relay session', msgid = 9, ip = ((ciraconn != null) ? ciraconn.remoteAddr : (((conn & 4) != 0) ? node.host : req.clientIp));
|
||||
var nodeid = node._id;
|
||||
var meshid = node.meshid;
|
||||
@ -5011,6 +5012,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
||||
obj.parent.DispatchEvent(['*', user._id, nodeid, meshid], obj, event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Websocket closed, close the CIRA channel and TLS session.
|
||||
if (ws.forwardclient) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user