More debug messages

bulletsim
Sean McNamara 2011-02-19 22:55:32 -05:00
parent 3c9bf5c476
commit e5c08a553c
1 changed files with 10 additions and 0 deletions

View File

@ -248,6 +248,16 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
{ {
m_log.Warn("[AUTO BACKUP MODULE]: " + c.Name); m_log.Warn("[AUTO BACKUP MODULE]: " + c.Name);
} }
if(scene.Config != null)
{
m_log.Warn("[AUTO BACKUP MODULE]: And in scene.Config:");
IConfigSource tmp = scene.Config;
foreach(IConfig d in tmp.Configs)
{
m_log.Warn("[AUTO BACKUP MODULE]: " + d.Name);
}
}
throw new NullReferenceException("This is debug code"); throw new NullReferenceException("This is debug code");
} }
st.SetEnabled(config.GetBoolean("AutoBackup", false)); st.SetEnabled(config.GetBoolean("AutoBackup", false));