diff options
author | Justin Clark-Casey (justincc) | 2011-09-08 19:52:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-08 19:52:28 +0100 |
commit | 3e7960d161af4157fcd315c2b932a305548ce50d (patch) | |
tree | 50d402c9b35a366cf3f4b410fea6eb2967e66963 /OpenSim/Services/Connectors/Hypergrid | |
parent | When invoking any of the OSSL teleport functions, do it on a separate thread ... (diff) | |
download | opensim-SC_OLD-3e7960d161af4157fcd315c2b932a305548ce50d.zip opensim-SC_OLD-3e7960d161af4157fcd315c2b932a305548ce50d.tar.gz opensim-SC_OLD-3e7960d161af4157fcd315c2b932a305548ce50d.tar.bz2 opensim-SC_OLD-3e7960d161af4157fcd315c2b932a305548ce50d.tar.xz |
Increase information in logging for UserAgentServiceConnector.
Done for http://opensimulator.org/mantis/view.php?id=5669
Diffstat (limited to 'OpenSim/Services/Connectors/Hypergrid')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index 08a3876..63aabad 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | |||
@@ -441,14 +441,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
441 | } | 441 | } |
442 | catch | 442 | catch |
443 | { | 443 | { |
444 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 444 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for StatusNotification", m_ServerURL); |
445 | // reason = "Exception: " + e.Message; | 445 | // reason = "Exception: " + e.Message; |
446 | return friendsOnline; | 446 | return friendsOnline; |
447 | } | 447 | } |
448 | 448 | ||
449 | if (response.IsFault) | 449 | if (response.IsFault) |
450 | { | 450 | { |
451 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 451 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for StatusNotification returned an error: {1}", m_ServerURL, response.FaultString); |
452 | // reason = "XMLRPC Fault"; | 452 | // reason = "XMLRPC Fault"; |
453 | return friendsOnline; | 453 | return friendsOnline; |
454 | } | 454 | } |
@@ -512,14 +512,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
512 | } | 512 | } |
513 | catch | 513 | catch |
514 | { | 514 | { |
515 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 515 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for GetOnlineFriends", m_ServerURL); |
516 | // reason = "Exception: " + e.Message; | 516 | // reason = "Exception: " + e.Message; |
517 | return online; | 517 | return online; |
518 | } | 518 | } |
519 | 519 | ||
520 | if (response.IsFault) | 520 | if (response.IsFault) |
521 | { | 521 | { |
522 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 522 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for GetOnlineFriends returned an error: {1}", m_ServerURL, response.FaultString); |
523 | // reason = "XMLRPC Fault"; | 523 | // reason = "XMLRPC Fault"; |
524 | return online; | 524 | return online; |
525 | } | 525 | } |
@@ -577,14 +577,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
577 | } | 577 | } |
578 | catch | 578 | catch |
579 | { | 579 | { |
580 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 580 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for GetServerURLs", m_ServerURL); |
581 | // reason = "Exception: " + e.Message; | 581 | // reason = "Exception: " + e.Message; |
582 | return serverURLs; | 582 | return serverURLs; |
583 | } | 583 | } |
584 | 584 | ||
585 | if (response.IsFault) | 585 | if (response.IsFault) |
586 | { | 586 | { |
587 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 587 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for GetServerURLs returned an error: {1}", m_ServerURL, response.FaultString); |
588 | // reason = "XMLRPC Fault"; | 588 | // reason = "XMLRPC Fault"; |
589 | return serverURLs; | 589 | return serverURLs; |
590 | } | 590 | } |
@@ -641,14 +641,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
641 | } | 641 | } |
642 | catch | 642 | catch |
643 | { | 643 | { |
644 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 644 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for LocateUser", m_ServerURL); |
645 | // reason = "Exception: " + e.Message; | 645 | // reason = "Exception: " + e.Message; |
646 | return url; | 646 | return url; |
647 | } | 647 | } |
648 | 648 | ||
649 | if (response.IsFault) | 649 | if (response.IsFault) |
650 | { | 650 | { |
651 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 651 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for LocateUser returned an error: {1}", m_ServerURL, response.FaultString); |
652 | // reason = "XMLRPC Fault"; | 652 | // reason = "XMLRPC Fault"; |
653 | return url; | 653 | return url; |
654 | } | 654 | } |
@@ -700,14 +700,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
700 | } | 700 | } |
701 | catch | 701 | catch |
702 | { | 702 | { |
703 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 703 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for GetUUI", m_ServerURL); |
704 | // reason = "Exception: " + e.Message; | 704 | // reason = "Exception: " + e.Message; |
705 | return uui; | 705 | return uui; |
706 | } | 706 | } |
707 | 707 | ||
708 | if (response.IsFault) | 708 | if (response.IsFault) |
709 | { | 709 | { |
710 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 710 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for GetUUI returned an error: {1}", m_ServerURL, response.FaultString); |
711 | // reason = "XMLRPC Fault"; | 711 | // reason = "XMLRPC Fault"; |
712 | return uui; | 712 | return uui; |
713 | } | 713 | } |
@@ -748,14 +748,14 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
748 | } | 748 | } |
749 | catch (Exception e) | 749 | catch (Exception e) |
750 | { | 750 | { |
751 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0}", m_ServerURL); | 751 | m_log.DebugFormat("[USER AGENT CONNECTOR]: Unable to contact remote server {0} for GetBoolResponse", m_ServerURL); |
752 | reason = "Exception: " + e.Message; | 752 | reason = "Exception: " + e.Message; |
753 | return false; | 753 | return false; |
754 | } | 754 | } |
755 | 755 | ||
756 | if (response.IsFault) | 756 | if (response.IsFault) |
757 | { | 757 | { |
758 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} returned an error: {1}", m_ServerURL, response.FaultString); | 758 | m_log.ErrorFormat("[USER AGENT CONNECTOR]: remote call to {0} for GetBoolResponse returned an error: {1}", m_ServerURL, response.FaultString); |
759 | reason = "XMLRPC Fault"; | 759 | reason = "XMLRPC Fault"; |
760 | return false; | 760 | return false; |
761 | } | 761 | } |