Add logging to help track sequence of events
parent
83073ebd03
commit
c8393dd0be
|
@ -111,10 +111,12 @@ namespace OpenSim.Server.Base
|
||||||
case ExtensionChange.Add:
|
case ExtensionChange.Add:
|
||||||
if (a.AddinFile.Contains(Registry.DefaultAddinsFolder))
|
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(',', '.'));
|
connector.PluginPath = String.Format("{0}/{1}", Registry.DefaultAddinsFolder, a.Name.Replace(',', '.'));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_log.InfoFormat("[SERVER]: Removing {0}", a.Name);
|
||||||
connector.PluginPath = a.AddinFile;
|
connector.PluginPath = a.AddinFile;
|
||||||
}
|
}
|
||||||
LoadPlugin(connector);
|
LoadPlugin(connector);
|
||||||
|
|
Loading…
Reference in New Issue