aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-14 22:23:17 +0000
committerJustin Clarke Casey2008-05-14 22:23:17 +0000
commit1b90238f28424c2dd820f6b21aea25845d0c0156 (patch)
tree3ba410394e0b5cb21773b67e1c4101122cf651a7 /OpenSim/Region/Communications
parent* Refactor additional stats collection common code into base opensim server (diff)
downloadopensim-SC_OLD-1b90238f28424c2dd820f6b21aea25845d0c0156.zip
opensim-SC_OLD-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.gz
opensim-SC_OLD-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.bz2
opensim-SC_OLD-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.xz
* Start recording initial complete avatar inventory retrieval failures from the region server
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton. If this fails, login is halted completely. * Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index f7037ea..0f75a09 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -35,6 +35,7 @@ using OpenSim.Framework;
35using OpenSim.Framework.Communications; 35using OpenSim.Framework.Communications;
36using OpenSim.Framework.Communications.Cache; 36using OpenSim.Framework.Communications.Cache;
37using OpenSim.Framework.Servers; 37using OpenSim.Framework.Servers;
38using OpenSim.Framework.Statistics;
38 39
39namespace OpenSim.Region.Communications.OGS1 40namespace OpenSim.Region.Communications.OGS1
40{ 41{
@@ -79,8 +80,11 @@ namespace OpenSim.Region.Communications.OGS1
79 } 80 }
80 catch (WebException e) 81 catch (WebException e)
81 { 82 {
83 if (StatsManager.SimExtraStats != null)
84 StatsManager.SimExtraStats.AddInventoryServiceRetrievalFailure();
85
82 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}", 86 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}",
83 e.Source, e.Message); 87 e.Source, e.Message);
84 } 88 }
85 } 89 }
86 else 90 else