diff options
Diffstat (limited to 'OpenSim/Region')
3 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index 8236b6c..327808a 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |||
@@ -199,7 +199,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
199 | protected void GetSceneObjectAssetUuids(SceneObjectGroup sceneObject, IDictionary<LLUUID, int> assetUuids) | 199 | protected void GetSceneObjectAssetUuids(SceneObjectGroup sceneObject, IDictionary<LLUUID, int> assetUuids) |
200 | { | 200 | { |
201 | m_log.DebugFormat( | 201 | m_log.DebugFormat( |
202 | "[ARCHIVER]: Getting assets for object {0}, {1}", sceneObject.RootPart.Name, sceneObject.UUID); | 202 | "[ARCHIVER]: Getting assets for object {0}, {1}", sceneObject.Name, sceneObject.UUID); |
203 | 203 | ||
204 | foreach (SceneObjectPart part in sceneObject.GetParts()) | 204 | foreach (SceneObjectPart part in sceneObject.GetParts()) |
205 | { | 205 | { |
@@ -255,6 +255,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
255 | catch (Exception e) | 255 | catch (Exception e) |
256 | { | 256 | { |
257 | m_log.ErrorFormat("[ARCHIVER]: Failed to get part - {0}", e); | 257 | m_log.ErrorFormat("[ARCHIVER]: Failed to get part - {0}", e); |
258 | m_log.DebugFormat("[ARCHIVER]: Texture entry length for prim was {0} (min is 46)", part.Shape.TextureEntry.Length); | ||
258 | } | 259 | } |
259 | } | 260 | } |
260 | } | 261 | } |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs index 2fd79b1..6ffbcbb 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs | |||
@@ -30,8 +30,10 @@ using OpenSim.Framework.Communications.Cache; | |||
30 | using OpenSim.Region.Environment.Interfaces; | 30 | using OpenSim.Region.Environment.Interfaces; |
31 | using OpenSim.Region.Environment.Scenes; | 31 | using OpenSim.Region.Environment.Scenes; |
32 | using System.Collections.Generic; | 32 | using System.Collections.Generic; |
33 | //using System.Reflection; | ||
33 | using System.Threading; | 34 | using System.Threading; |
34 | using libsecondlife; | 35 | using libsecondlife; |
36 | //using log4net; | ||
35 | 37 | ||
36 | namespace OpenSim.Region.Environment.Modules.World.Archiver | 38 | namespace OpenSim.Region.Environment.Modules.World.Archiver |
37 | { | 39 | { |
@@ -40,6 +42,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
40 | /// </summary> | 42 | /// </summary> |
41 | class AssetsRequest | 43 | class AssetsRequest |
42 | { | 44 | { |
45 | //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
46 | |||
43 | /// <summary> | 47 | /// <summary> |
44 | /// uuids to request | 48 | /// uuids to request |
45 | /// </summary> | 49 | /// </summary> |
@@ -101,8 +105,11 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
101 | m_assets[assetID] = asset; | 105 | m_assets[assetID] = asset; |
102 | else | 106 | else |
103 | m_notFoundAssetUuids.Add(assetID); | 107 | m_notFoundAssetUuids.Add(assetID); |
108 | |||
109 | //m_log.DebugFormat( | ||
110 | // "[ARCHIVER]: Received {0} assets and notification of {1} missing assets", m_assets.Count, m_notFoundAssetUuids.Count); | ||
104 | 111 | ||
105 | if (m_assets.Count == m_repliesRequired) | 112 | if (m_assets.Count + m_notFoundAssetUuids.Count == m_repliesRequired) |
106 | { | 113 | { |
107 | // We want to stop using the asset cache thread asap as we now need to do the actual work of producing the archive | 114 | // We want to stop using the asset cache thread asap as we now need to do the actual work of producing the archive |
108 | Thread newThread = new Thread(PerformAssetsRequestCallback); | 115 | Thread newThread = new Thread(PerformAssetsRequestCallback); |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index e982c35..23490fc 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -828,7 +828,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
828 | } | 828 | } |
829 | catch (Exception e) | 829 | catch (Exception e) |
830 | { | 830 | { |
831 | m_log.Error("Failed to add scened object part", e); | 831 | m_log.Error("Failed to add scene object part", e); |
832 | } | 832 | } |
833 | 833 | ||
834 | part.LinkNum = m_parts.Count; | 834 | part.LinkNum = m_parts.Count; |