aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-09 17:17:25 +0000
committerJustin Clark-Casey (justincc)2009-11-09 17:17:25 +0000
commitfbcf6ffc18e951dac6f2408190206a2a58383222 (patch)
tree705c2e4a3a90b7350ee6992d6fc53c2436b5d05e
parentminor: remove some mono compiler warnings (diff)
downloadopensim-SC_OLD-fbcf6ffc18e951dac6f2408190206a2a58383222.zip
opensim-SC_OLD-fbcf6ffc18e951dac6f2408190206a2a58383222.tar.gz
opensim-SC_OLD-fbcf6ffc18e951dac6f2408190206a2a58383222.tar.bz2
opensim-SC_OLD-fbcf6ffc18e951dac6f2408190206a2a58383222.tar.xz
minor: provide updates on number of assets loaded while executing "load iar"
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
index d82d0e3..dfae62c 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
@@ -129,6 +129,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
129 successfulAssetRestores++; 129 successfulAssetRestores++;
130 else 130 else
131 failedAssetRestores++; 131 failedAssetRestores++;
132
133 if ((successfulAssetRestores) % 50 == 0)
134 m_log.DebugFormat(
135 "[INVENTORY ARCHIVER]: Loaded {0} assets...",
136 successfulAssetRestores);
132 } 137 }
133 else if (filePath.StartsWith(ArchiveConstants.INVENTORY_PATH)) 138 else if (filePath.StartsWith(ArchiveConstants.INVENTORY_PATH))
134 { 139 {
@@ -156,8 +161,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
156 161
157 archive.Close(); 162 archive.Close();
158 163
159 m_log.DebugFormat("[INVENTORY ARCHIVER]: Restored {0} assets", successfulAssetRestores); 164 m_log.DebugFormat(
160 m_log.InfoFormat("[INVENTORY ARCHIVER]: Restored {0} items", successfulItemRestores); 165 "[INVENTORY ARCHIVER]: Successfully loaded {0} assets with {1} failures",
166 successfulAssetRestores, failedAssetRestores);
167 m_log.InfoFormat("[INVENTORY ARCHIVER]: Successfully loaded {0} items", successfulItemRestores);
161 168
162 return nodesLoaded; 169 return nodesLoaded;
163 } 170 }