Add logging to help track sequence of events

connector_plugin
BlueWall 2012-10-11 07:38:15 -04:00
parent 83073ebd03
commit c8393dd0be
1 changed files with 2 additions and 0 deletions

View File

@ -111,10 +111,12 @@ namespace OpenSim.Server.Base
case ExtensionChange.Add:
if (a.AddinFile.Contains(Registry.DefaultAddinsFolder))
{
m_log.InfoFormat("[SERVER]: Adding {0}", a.Name);
connector.PluginPath = String.Format("{0}/{1}", Registry.DefaultAddinsFolder, a.Name.Replace(',', '.'));
}
else
{
m_log.InfoFormat("[SERVER]: Removing {0}", a.Name);
connector.PluginPath = a.AddinFile;
}
LoadPlugin(connector);