Add some output (at DEBUG level) to the message transfer module to aid

in tracking down an initialization failure.
arthursv
Melanie 2009-08-20 20:19:08 +01:00
parent ae2ceda479
commit 4c8bcd2ff6
1 changed files with 4 additions and 0 deletions

View File

@ -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);
} }