- cleanup logs
This commit is contained in:
parent
21848d21af
commit
9916fc63dd
@ -124,7 +124,6 @@ package org.bigbluebutton.main.model.modules
|
||||
if (!(modLoader.child is IBigBlueButtonModule)) throw new Error(getName() + " is not a valid BigBlueButton module");
|
||||
_module = modLoader.child as IBigBlueButtonModule;
|
||||
if (_module != null) {
|
||||
LogUtil.debug("Module " + _attributes.name + " has been loaded");
|
||||
_loaded = true;
|
||||
callbackHandler(ModuleManager.MODULE_LOAD_READY, _attributes.name);
|
||||
} else {
|
||||
@ -134,7 +133,6 @@ package org.bigbluebutton.main.model.modules
|
||||
}
|
||||
|
||||
private function onLoadProgress(e:ProgressEvent):void {
|
||||
if (getName() == "PresentModule") LogUtil.debug("PresentModule " + Math.round((e.bytesLoaded/e.bytesTotal) * 100) + " loaded");
|
||||
callbackHandler(ModuleManager.MODULE_LOAD_PROGRESS,
|
||||
_attributes.name, Math.round((e.bytesLoaded/e.bytesTotal) * 100));
|
||||
}
|
||||
@ -144,7 +142,7 @@ package org.bigbluebutton.main.model.modules
|
||||
}
|
||||
|
||||
private function onLoading(e:Event):void{
|
||||
LogUtil.debug(getName() + " is loading");
|
||||
// LogUtil.debug(getName() + " is loading");
|
||||
}
|
||||
|
||||
public function useProtocol(protocol:String):void {
|
||||
|
@ -93,10 +93,9 @@ package org.bigbluebutton.main.model.modules
|
||||
}
|
||||
|
||||
private function startModule(name:String):void {
|
||||
LogUtil.debug('Request to start module ' + name);
|
||||
var m:ModuleDescriptor = getModule(name);
|
||||
if (m != null) {
|
||||
LogUtil.debug('Starting ' + name);
|
||||
LogUtil.debug('Starting module' + name);
|
||||
var bbb:IBigBlueButtonModule = m.module as IBigBlueButtonModule;
|
||||
m.loadConfigAttributes(conferenceParameters, _protocol);
|
||||
bbb.start(m.attributes);
|
||||
@ -104,7 +103,7 @@ package org.bigbluebutton.main.model.modules
|
||||
}
|
||||
|
||||
private function stopModule(name:String):void {
|
||||
LogUtil.debug('Request to stop module ' + name);
|
||||
LogUtil.debug('Stopping module ' + name);
|
||||
var m:ModuleDescriptor = getModule(name);
|
||||
if (m != null) {
|
||||
LogUtil.debug('Stopping ' + name);
|
||||
@ -121,10 +120,7 @@ package org.bigbluebutton.main.model.modules
|
||||
LogUtil.debug('BBBManager Loading ' + name);
|
||||
var m:ModuleDescriptor = getModule(name);
|
||||
if (m != null) {
|
||||
if (m.loaded) {
|
||||
//loadModuleResultHandler(MODULE_LOAD_READY, name);
|
||||
} else {
|
||||
LogUtil.debug('Found module ' + m.attributes.name);
|
||||
if (!m.loaded) {
|
||||
m.load(loadModuleResultHandler);
|
||||
}
|
||||
} else {
|
||||
@ -140,7 +136,7 @@ package org.bigbluebutton.main.model.modules
|
||||
modulesDispatcher.sendLoadProgressEvent(name, progress);
|
||||
break;
|
||||
case MODULE_LOAD_READY:
|
||||
LogUtil.debug('Module ' + name + " has been loaded.");
|
||||
LogUtil.debug('Module ' + name + " loaded.");
|
||||
modulesDispatcher.sendModuleLoadReadyEvent(name)
|
||||
break;
|
||||
}
|
||||
@ -194,7 +190,6 @@ package org.bigbluebutton.main.model.modules
|
||||
for (var i:int = 0; i<sorted.length; i++){
|
||||
var m:ModuleDescriptor = sorted.getItemAt(i) as ModuleDescriptor;
|
||||
if (!m.loaded){
|
||||
LogUtil.debug("Module " + m.getName() + " has not yet been loaded");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user