aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-26 12:34:02 +0000
committerJustin Clarke Casey2008-03-26 12:34:02 +0000
commitc00e56d3eeeb4c6b0e4151b2c6e3532e3aa650a9 (patch)
tree83d52ba6b2d308201b27e84d663918b4a9622217 /OpenSim/Region/Communications
parent* Start printing the region simulator_login exception to the log (diff)
downloadopensim-SC_OLD-c00e56d3eeeb4c6b0e4151b2c6e3532e3aa650a9.zip
opensim-SC_OLD-c00e56d3eeeb4c6b0e4151b2c6e3532e3aa650a9.tar.gz
opensim-SC_OLD-c00e56d3eeeb4c6b0e4151b2c6e3532e3aa650a9.tar.bz2
opensim-SC_OLD-c00e56d3eeeb4c6b0e4151b2c6e3532e3aa650a9.tar.xz
* Increase information in simulator_login log messages
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 45ceccb..21ca573 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -124,16 +124,18 @@ namespace OpenSim.Region.Communications.OGS1
124 SendParams.Add(GridParams); 124 SendParams.Add(GridParams);
125 125
126 // Send Request 126 // Send Request
127 XmlRpcRequest GridReq;
128 XmlRpcResponse GridResp; 127 XmlRpcResponse GridResp;
129 try 128 try
130 { 129 {
131 GridReq = new XmlRpcRequest("simulator_login", SendParams); 130 XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams);
132 GridResp = GridReq.Send(serversInfo.GridURL, 16000); 131 GridResp = GridReq.Send(serversInfo.GridURL, 16000);
133 } 132 }
134 catch (Exception ex) 133 catch (Exception ex)
135 { 134 {
136 m_log.ErrorFormat("Unable to connect to grid. Grid server not running? Exception {0}", ex); 135 m_log.ErrorFormat(
136 "Unable to connect to grid at {0}. Grid server not running? Exception {1}",
137 serversInfo.GridURL, ex);
138
137 throw(ex); 139 throw(ex);
138 } 140 }
139 Hashtable GridRespData = (Hashtable)GridResp.Value; 141 Hashtable GridRespData = (Hashtable)GridResp.Value;
@@ -143,7 +145,7 @@ namespace OpenSim.Region.Communications.OGS1
143 if (GridRespData.ContainsKey("error")) 145 if (GridRespData.ContainsKey("error"))
144 { 146 {
145 string errorstring = (string) GridRespData["error"]; 147 string errorstring = (string) GridRespData["error"];
146 m_log.Error("Unable to connect to grid: " + errorstring); 148 m_log.ErrorFormat("Unable to connect to grid at {0}: {1}", serversInfo.GridURL, errorstring);
147 return null; 149 return null;
148 } 150 }
149 else 151 else