aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs24
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs16
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs5
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs6
-rw-r--r--OpenSim/Region/CoreModules/World/Wind/WindModule.cs4
5 files changed, 22 insertions, 33 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
index ad46107..520ea50 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
@@ -231,24 +231,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
231 231
232 if(curErrorCntr > 0 || possible > 0) 232 if(curErrorCntr > 0 || possible > 0)
233 { 233 {
234 string spath;
235 int indx = path.IndexOf("__");
236 if(indx > 0)
237 spath = path.Substring(0,indx);
238 else
239 spath = path;
240
241 if(curErrorCntr > 0) 234 if(curErrorCntr > 0)
242 { 235 {
243 m_log.ErrorFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains {4} references to missing or damaged assets", 236 // path is /name__UUID/name__UUID ...
244 inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath, curErrorCntr); 237 m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains {4} references to missing or damaged assets, or not a problem.",
245 if(possible > 0) 238 inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), path, curErrorCntr);
246 m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item also contains {0} references that may be to missing or damaged assets or not a problem", possible); 239//// if(possible > 0)
247 } 240//// m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item also contains {0} references that may be to missing or damaged assets or not a problem", possible);
248 else if(possible > 0)
249 {
250 m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains {4} references that may be to missing or damaged assets or not a problem", inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath, possible);
251 } 241 }
242//// else if(possible > 0)
243//// {
244//// m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains {4} references that may be to missing or damaged assets or not a problem", inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath, possible);
245//// }
252 } 246 }
253 } 247 }
254 } 248 }
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs
index 060e753..6b8755b 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs
@@ -275,16 +275,16 @@ namespace OpenSim.Region.CoreModules.World.Archiver
275 possible = assetGatherer.possibleNotAssetCount - possible; 275 possible = assetGatherer.possibleNotAssetCount - possible;
276 if(curErrorCntr > 0) 276 if(curErrorCntr > 0)
277 { 277 {
278 m_log.ErrorFormat("[ARCHIVER]: object {0} '{1}', at {2}, contains {3} references to missing or damaged assets", 278 m_log.ErrorFormat("[ARCHIVER]: object {0} '{1}', at {2}, contains {3} references to missing or damaged assets, or not a problem.",
279 sceneObject.UUID, sceneObject.Name ,sceneObject.AbsolutePosition.ToString(), curErrorCntr); 279 sceneObject.UUID, sceneObject.Name ,sceneObject.AbsolutePosition.ToString(), curErrorCntr);
280 if(possible > 0) 280//// if(possible > 0)
281 m_log.WarnFormat("[ARCHIVER Warning]: object also contains {0} references that may be to missing or damaged assets or not a problem", possible); 281//// m_log.WarnFormat("[ARCHIVER Warning]: object also contains {0} references that may be to missing or damaged assets or not a problem", possible);
282 }
283 else if(possible > 0)
284 {
285 m_log.WarnFormat("[ARCHIVER Warning]: object {0} '{1}', at {2}, contains {3} references that may be to missing or damaged assets or not a problem",
286 sceneObject.UUID, sceneObject.Name ,sceneObject.AbsolutePosition.ToString(), possible);
287 } 282 }
283//// else if(possible > 0)
284//// {
285//// m_log.WarnFormat("[ARCHIVER Warning]: object {0} '{1}', at {2}, contains {3} references that may be to missing or damaged assets or not a problem",
286//// sceneObject.UUID, sceneObject.Name ,sceneObject.AbsolutePosition.ToString(), possible);
287//// }
288 } 288 }
289 289
290 assetGatherer.GatherAll(); 290 assetGatherer.GatherAll();
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
index 3092fe0..0a955c5 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
@@ -143,11 +143,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver
143 asset.Data); 143 asset.Data);
144 144
145 m_assetsWritten++; 145 m_assetsWritten++;
146
147 //m_log.DebugFormat("[ARCHIVER]: Added asset {0}", m_assetsWritten);
148
149 if (m_assetsWritten % LOG_ASSET_LOAD_NOTIFICATION_INTERVAL == 0)
150 m_log.InfoFormat("[ARCHIVER]: Added {0} assets to archive", m_assetsWritten);
151 } 146 }
152 147
153 } 148 }
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
index f29011e..b5b925f 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
@@ -664,7 +664,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain
664 { 664 {
665 ITerrainLoader terLoader = (ITerrainLoader)Activator.CreateInstance(library.GetType(pluginType.ToString())); 665 ITerrainLoader terLoader = (ITerrainLoader)Activator.CreateInstance(library.GetType(pluginType.ToString()));
666 m_loaders[terLoader.FileExtension] = terLoader; 666 m_loaders[terLoader.FileExtension] = terLoader;
667 m_log.Info("L ... " + typeName); 667 m_log.Debug("L ... " + typeName);
668 } 668 }
669 } 669 }
670 catch(AmbiguousMatchException) 670 catch(AmbiguousMatchException)
@@ -680,12 +680,12 @@ namespace OpenSim.Region.CoreModules.World.Terrain
680 if (!m_plugineffects.ContainsKey(pluginName)) 680 if (!m_plugineffects.ContainsKey(pluginName))
681 { 681 {
682 m_plugineffects.Add(pluginName, effect); 682 m_plugineffects.Add(pluginName, effect);
683 m_log.Info("E ... " + pluginName); 683 m_log.Debug("E ... " + pluginName);
684 } 684 }
685 else 685 else
686 { 686 {
687 m_plugineffects[pluginName] = effect; 687 m_plugineffects[pluginName] = effect;
688 m_log.Info("E ... " + pluginName + " (Replaced)"); 688 m_log.Debug("E ... " + pluginName + " (Replaced)");
689 } 689 }
690 } 690 }
691 } 691 }
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
index 51faa0e..183b985 100644
--- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
@@ -100,7 +100,7 @@ namespace OpenSim.Region.CoreModules
100 // Register all the Wind Model Plug-ins 100 // Register all the Wind Model Plug-ins
101 foreach (IWindModelPlugin windPlugin in AddinManager.GetExtensionObjects("/OpenSim/WindModule", false)) 101 foreach (IWindModelPlugin windPlugin in AddinManager.GetExtensionObjects("/OpenSim/WindModule", false))
102 { 102 {
103 m_log.InfoFormat("[WIND] Found Plugin: {0}", windPlugin.Name); 103 m_log.DebugFormat("[WIND] Found Plugin: {0}", windPlugin.Name);
104 m_availableWindPlugins.Add(windPlugin.Name, windPlugin); 104 m_availableWindPlugins.Add(windPlugin.Name, windPlugin);
105 } 105 }
106 106
@@ -109,7 +109,7 @@ namespace OpenSim.Region.CoreModules
109 { 109 {
110 m_activeWindPlugin = m_availableWindPlugins[m_dWindPluginName]; 110 m_activeWindPlugin = m_availableWindPlugins[m_dWindPluginName];
111 111
112 m_log.InfoFormat("[WIND] {0} plugin found, initializing.", m_dWindPluginName); 112 m_log.DebugFormat("[WIND] {0} plugin found, initializing.", m_dWindPluginName);
113 113
114 if (m_windConfig != null) 114 if (m_windConfig != null)
115 { 115 {