diff options
author | Diva Canto | 2011-01-08 16:33:33 -0800 |
---|---|---|
committer | Diva Canto | 2011-01-08 16:33:33 -0800 |
commit | 0fabe0e5a5ee37cad77aeebf84660f9daef95d2e (patch) | |
tree | a8dabb2839e2a07f67891b71c4663171ea3f0fc9 /OpenSim/Region | |
parent | Added a -v|verbose option to save iar. (diff) | |
download | opensim-SC_OLD-0fabe0e5a5ee37cad77aeebf84660f9daef95d2e.zip opensim-SC_OLD-0fabe0e5a5ee37cad77aeebf84660f9daef95d2e.tar.gz opensim-SC_OLD-0fabe0e5a5ee37cad77aeebf84660f9daef95d2e.tar.bz2 opensim-SC_OLD-0fabe0e5a5ee37cad77aeebf84660f9daef95d2e.tar.xz |
Added more debug messages under the -verbose option.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs index 5da1656..b888698 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs | |||
@@ -249,14 +249,18 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
249 | 249 | ||
250 | if (asset != null) | 250 | if (asset != null) |
251 | { | 251 | { |
252 | // m_log.DebugFormat("[ARCHIVER]: Writing asset {0}", id); | 252 | if (m_options.ContainsKey("verbose")) |
253 | m_log.InfoFormat("[ARCHIVER]: Writing asset {0}", id); | ||
254 | |||
253 | m_foundAssetUuids.Add(asset.FullID); | 255 | m_foundAssetUuids.Add(asset.FullID); |
254 | 256 | ||
255 | m_assetsArchiver.WriteAsset(PostProcess(asset)); | 257 | m_assetsArchiver.WriteAsset(PostProcess(asset)); |
256 | } | 258 | } |
257 | else | 259 | else |
258 | { | 260 | { |
259 | // m_log.DebugFormat("[ARCHIVER]: Recording asset {0} as not found", id); | 261 | if (m_options.ContainsKey("verbose")) |
262 | m_log.InfoFormat("[ARCHIVER]: Recording asset {0} as not found", id); | ||
263 | |||
260 | m_notFoundAssetUuids.Add(new UUID(id)); | 264 | m_notFoundAssetUuids.Add(new UUID(id)); |
261 | } | 265 | } |
262 | 266 | ||