aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-01 00:11:21 +0100
committerJustin Clark-Casey (justincc)2012-08-01 00:11:21 +0100
commit04d8c6b4fe22773eba6359c0ac71fe1f535ba211 (patch)
tree3b1df384b6afd403e3cae4c2affe6a67f576c3ee /OpenSim/Services/Connectors
parentResolve a deadlock between INPCModule and SensorRepeat by replacing the Senso... (diff)
downloadopensim-SC-04d8c6b4fe22773eba6359c0ac71fe1f535ba211.zip
opensim-SC-04d8c6b4fe22773eba6359c0ac71fe1f535ba211.tar.gz
opensim-SC-04d8c6b4fe22773eba6359c0ac71fe1f535ba211.tar.bz2
opensim-SC-04d8c6b4fe22773eba6359c0ac71fe1f535ba211.tar.xz
Change exception log messages in XInventoryService connector to error rather than debug, since these signal real problems.
Also outputs full exception instead of just the message to aid diagnostics.
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r--OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs17
1 files changed, 8 insertions, 9 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
index fe7a799..44f5e01 100644
--- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
@@ -122,7 +122,7 @@ namespace OpenSim.Services.Connectors
122 } 122 }
123 catch (Exception e) 123 catch (Exception e)
124 { 124 {
125 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception unwrapping folder list: {0}", e.Message); 125 m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception unwrapping folder list: ", e);
126 } 126 }
127 127
128 return fldrs; 128 return fldrs;
@@ -191,7 +191,7 @@ namespace OpenSim.Services.Connectors
191 } 191 }
192 catch (Exception e) 192 catch (Exception e)
193 { 193 {
194 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetFolderContent: {0}", e.Message); 194 m_log.WarnFormat("[XINVENTORY SERVICES CONNECTOR]: Exception in GetFolderContent: {0}", e.Message);
195 } 195 }
196 196
197 return inventory; 197 return inventory;
@@ -432,7 +432,7 @@ namespace OpenSim.Services.Connectors
432 } 432 }
433 catch (Exception e) 433 catch (Exception e)
434 { 434 {
435 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetItem: {0}", e.Message); 435 m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetItem: ", e);
436 } 436 }
437 437
438 return null; 438 return null;
@@ -456,7 +456,7 @@ namespace OpenSim.Services.Connectors
456 } 456 }
457 catch (Exception e) 457 catch (Exception e)
458 { 458 {
459 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetFolder: {0}", e.Message); 459 m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetFolder: ", e);
460 } 460 }
461 461
462 return null; 462 return null;
@@ -525,7 +525,7 @@ namespace OpenSim.Services.Connectors
525 } 525 }
526 catch (Exception e) 526 catch (Exception e)
527 { 527 {
528 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetUserInventory: {0}", e.Message); 528 m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetUserInventory: ", e);
529 } 529 }
530 530
531 return inventory; 531 return inventory;
@@ -574,7 +574,7 @@ namespace OpenSim.Services.Connectors
574 } 574 }
575 catch (Exception e) 575 catch (Exception e)
576 { 576 {
577 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception building folder: {0}", e.Message); 577 m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception building folder: ", e);
578 } 578 }
579 579
580 return folder; 580 return folder;
@@ -613,11 +613,10 @@ namespace OpenSim.Services.Connectors
613 } 613 }
614 catch (Exception e) 614 catch (Exception e)
615 { 615 {
616 m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception building item: {0}", e.Message); 616 m_log.Error("[XINVENTORY CONNECTOR]: Exception building item: ", e);
617 } 617 }
618 618
619 return item; 619 return item;
620 } 620 }
621
622 } 621 }
623} 622} \ No newline at end of file