aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-05 16:30:35 +0000
committerJustin Clarke Casey2009-01-05 16:30:35 +0000
commit0b8d22ab544910a2b9b89b4bee2926a90b0da63f (patch)
treeb409ffaa85bfc48a369669854a1ff4493cc8829f /OpenSim/Framework/Communications
parentchange the drop order to see if this affects unit test fails (diff)
downloadopensim-SC_OLD-0b8d22ab544910a2b9b89b4bee2926a90b0da63f.zip
opensim-SC_OLD-0b8d22ab544910a2b9b89b4bee2926a90b0da63f.tar.gz
opensim-SC_OLD-0b8d22ab544910a2b9b89b4bee2926a90b0da63f.tar.bz2
opensim-SC_OLD-0b8d22ab544910a2b9b89b4bee2926a90b0da63f.tar.xz
* Check in login service tests beachhead
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 3f53c2f..b2434c2 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -160,7 +160,7 @@ namespace OpenSim.Framework.Communications
160 else 160 else
161 { 161 {
162 m_log.Info( 162 m_log.Info(
163 "[LOGIN END]: XMLRPC login_to_simulator login message did not contain all the required data"); 163 "[LOGIN END]: XMLRPC login_to_simulator login message did not contain all the required data");
164 164
165 return logResponse.CreateGridErrorResponse(); 165 return logResponse.CreateGridErrorResponse();
166 } 166 }
@@ -259,25 +259,25 @@ namespace OpenSim.Framework.Communications
259 StatsManager.UserStats.AddSuccessfulLogin(); 259 StatsManager.UserStats.AddSuccessfulLogin();
260 260
261 m_log.DebugFormat( 261 m_log.DebugFormat(
262 "[LOGIN END]: XMLRPC Authentication of user {0} {1} successful. Sending response to client.", 262 "[LOGIN END]: XMLRPC Authentication of user {0} {1} successful. Sending response to client.",
263 firstname, lastname); 263 firstname, lastname);
264 264
265 return logResponse.ToXmlRpcResponse(); 265 return logResponse.ToXmlRpcResponse();
266 } 266 }
267 else 267 else
268 { 268 {
269 m_log.ErrorFormat("[LOGIN END]: XMLRPC informing user {0} {1} that login failed due to an unavailable region", firstname, lastname); 269 m_log.ErrorFormat("[LOGIN END]: XMLRPC informing user {0} {1} that login failed due to an unavailable region", firstname, lastname);
270 return logResponse.CreateDeadRegionResponse(); 270 return logResponse.CreateDeadRegionResponse();
271 } 271 }
272 } 272 }
273 catch (Exception e) 273 catch (Exception e)
274 { 274 {
275 m_log.Error("[LOGIN END]: XMLRPC Login failed, " + e); 275 m_log.Error("[LOGIN END]: XMLRPC Login failed, " + e);
276 m_log.Error(e.StackTrace); 276 m_log.Error(e.StackTrace);
277 } 277 }
278 } 278 }
279 279
280 m_log.Info("[LOGIN END]: XMLRPC Login failed. Sending back blank XMLRPC response"); 280 m_log.Info("[LOGIN END]: XMLRPC Login failed. Sending back blank XMLRPC response");
281 return response; 281 return response;
282 } 282 }
283 finally 283 finally
@@ -329,7 +329,7 @@ namespace OpenSim.Framework.Communications
329 userProfile = GetTheUser(firstname, lastname); 329 userProfile = GetTheUser(firstname, lastname);
330 if (userProfile == null) 330 if (userProfile == null)
331 { 331 {
332 m_log.Info("[LOGIN]: LLSD Could not find a profile for " + firstname + " " + lastname); 332 m_log.Info("[LOGIN]: LLSD Could not find a profile for " + firstname + " " + lastname);
333 333
334 return false; 334 return false;
335 } 335 }