- fix logging

This commit is contained in:
Richard Alam 2015-07-29 21:20:27 +00:00
parent 386c870583
commit 85529a131e
2 changed files with 2 additions and 4 deletions

View File

@ -197,8 +197,8 @@ package org.bigbluebutton.modules.phone.managers
}
var logData:Object = new Object();
logData.reason = errorString;
logData.user = UsersUtil.getUserData();
logData.user.reason = errorString;
JSLog.warn("WebRtc Echo test failed.", logData);
sendWebRTCAlert(ResourceUtil.getInstance().getString("bbb.webrtcWarning.title"), ResourceUtil.getInstance().getString("bbb.webrtcWarning.message", [errorString]), errorString);

View File

@ -103,9 +103,7 @@ package org.bigbluebutton.modules.videoconf.business
trace(LOG + "[" + event.info.code + "] for [" + _url + "]");
var logData:Object = new Object();
logData.user = UsersUtil.getUserData();
logData.eventCode = event.info.code;
logData.reconnecting = reconnecting;
logData.reconnect = reconnect;
logData.user.eventCode = event.info.code + "[reconnecting=" + reconnecting + ",reconnect=" + reconnect + "]";
JSLog.warn("NetStatus event from bbb-video", logData);