diff options
author | Sean McNamara | 2011-02-19 22:55:32 -0500 |
---|---|---|
committer | Sean McNamara | 2011-02-19 22:55:32 -0500 |
commit | e5c08a553c4cbf0485d7eb93fc891e002ae04254 (patch) | |
tree | 6fdd81f04d52e9755c2eab17cfeaaeb3aff0f0b5 /OpenSim/Region/OptionalModules | |
parent | Fix config source stuff harder (debug console prints only; no fix yet) (diff) | |
download | opensim-SC_OLD-e5c08a553c4cbf0485d7eb93fc891e002ae04254.zip opensim-SC_OLD-e5c08a553c4cbf0485d7eb93fc891e002ae04254.tar.gz opensim-SC_OLD-e5c08a553c4cbf0485d7eb93fc891e002ae04254.tar.bz2 opensim-SC_OLD-e5c08a553c4cbf0485d7eb93fc891e002ae04254.tar.xz |
More debug messages
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs index ebad12f..21e48df 100644 --- a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs +++ b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs | |||
@@ -248,6 +248,16 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup | |||
248 | { | 248 | { |
249 | m_log.Warn("[AUTO BACKUP MODULE]: " + c.Name); | 249 | m_log.Warn("[AUTO BACKUP MODULE]: " + c.Name); |
250 | } | 250 | } |
251 | |||
252 | if(scene.Config != null) | ||
253 | { | ||
254 | m_log.Warn("[AUTO BACKUP MODULE]: And in scene.Config:"); | ||
255 | IConfigSource tmp = scene.Config; | ||
256 | foreach(IConfig d in tmp.Configs) | ||
257 | { | ||
258 | m_log.Warn("[AUTO BACKUP MODULE]: " + d.Name); | ||
259 | } | ||
260 | } | ||
251 | throw new NullReferenceException("This is debug code"); | 261 | throw new NullReferenceException("This is debug code"); |
252 | } | 262 | } |
253 | st.SetEnabled(config.GetBoolean("AutoBackup", false)); | 263 | st.SetEnabled(config.GetBoolean("AutoBackup", false)); |