Added more debug messages under the -verbose option.

viewer-2-initial-appearance
Diva Canto 2011-01-08 16:33:33 -08:00
parent 35a2961ccd
commit 0fabe0e5a5
1 changed files with 6 additions and 2 deletions

View File

@ -249,14 +249,18 @@ namespace OpenSim.Region.CoreModules.World.Archiver
if (asset != null) if (asset != null)
{ {
// m_log.DebugFormat("[ARCHIVER]: Writing asset {0}", id); if (m_options.ContainsKey("verbose"))
m_log.InfoFormat("[ARCHIVER]: Writing asset {0}", id);
m_foundAssetUuids.Add(asset.FullID); m_foundAssetUuids.Add(asset.FullID);
m_assetsArchiver.WriteAsset(PostProcess(asset)); m_assetsArchiver.WriteAsset(PostProcess(asset));
} }
else else
{ {
// m_log.DebugFormat("[ARCHIVER]: Recording asset {0} as not found", id); if (m_options.ContainsKey("verbose"))
m_log.InfoFormat("[ARCHIVER]: Recording asset {0} as not found", id);
m_notFoundAssetUuids.Add(new UUID(id)); m_notFoundAssetUuids.Add(new UUID(id));
} }