Add some output (at DEBUG level) to the message transfer module to aid
in tracking down an initialization failure.arthursv
parent
ae2ceda479
commit
4c8bcd2ff6
|
@ -56,7 +56,10 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
if (cnf != null && cnf.GetString(
|
if (cnf != null && cnf.GetString(
|
||||||
"MessageTransferModule", "MessageTransferModule") !=
|
"MessageTransferModule", "MessageTransferModule") !=
|
||||||
"MessageTransferModule")
|
"MessageTransferModule")
|
||||||
|
{
|
||||||
|
m_log.Debug("[MESSAGE TRANSFER]: Disabled by configuration");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
cnf = config.Configs["Startup"];
|
cnf = config.Configs["Startup"];
|
||||||
if (cnf != null)
|
if (cnf != null)
|
||||||
|
@ -72,6 +75,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
"grid_instant_message", processXMLRPCGridInstantMessage);
|
"grid_instant_message", processXMLRPCGridInstantMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_log.Debug("[MESSAGE TRANSFER]: Message transfer module active");
|
||||||
scene.RegisterModuleInterface<IMessageTransferModule>(this);
|
scene.RegisterModuleInterface<IMessageTransferModule>(this);
|
||||||
m_Scenes.Add(scene);
|
m_Scenes.Add(scene);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue