omit extra info in log line; fix indent

This commit is contained in:
Anton Georgiev 2016-09-13 20:54:45 +00:00
parent 62d3658c4f
commit bbe20804cf

View File

@ -77,10 +77,10 @@ package org.bigbluebutton.util.logging
public function log(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String):void
{
var userId:String = UsersUtil.getMyUserID();
var meetingId:String = UsersUtil.getInternalMeetingID();
name = "--userID=" + userId + " meetingID=" + meetingId + " " + name;
var formattedMessage:String=_formatter.format(name, shortName, level, timeStamp, message, parameters, person);
var userId:String = UsersUtil.getMyUserID();
var meetingId:String = UsersUtil.getInternalMeetingID();
name = userId + " " + meetingId + " " + name;
var formattedMessage:String=_formatter.format(name, shortName, level, timeStamp, message, parameters, person);
// check if contains info from config field
var reg1:RegExp = new RegExp(_logPattern, "g");