aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/LoginService.cs
diff options
context:
space:
mode:
authorCharles Krinke2007-10-12 13:50:11 +0000
committerCharles Krinke2007-10-12 13:50:11 +0000
commite41b0feb5895365e8f4b41b13facf6d07e6a6a44 (patch)
tree0c91d168ed593c53ce1d9b7ed6f6ea57aaa79376 /OpenSim/Framework/Communications/LoginService.cs
parentOpdated the MySql.Data.dll in bin to version 5.0.8.1. runprebuild should be r... (diff)
downloadopensim-SC_OLD-e41b0feb5895365e8f4b41b13facf6d07e6a6a44.zip
opensim-SC_OLD-e41b0feb5895365e8f4b41b13facf6d07e6a6a44.tar.gz
opensim-SC_OLD-e41b0feb5895365e8f4b41b13facf6d07e6a6a44.tar.bz2
opensim-SC_OLD-e41b0feb5895365e8f4b41b13facf6d07e6a6a44.tar.xz
Turn a few of the writelines into mainlog entries so failed logins can be more easily analyzed.
Diffstat (limited to 'OpenSim/Framework/Communications/LoginService.cs')
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index fddfb17..029c0a6e 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -36,9 +36,9 @@ namespace OpenSim.Framework.UserManagement
36 /// <param name="request">The XMLRPC request</param> 36 /// <param name="request">The XMLRPC request</param>
37 /// <returns>The response to send</returns> 37 /// <returns>The response to send</returns>
38 public XmlRpcResponse XmlRpcLoginMethod(XmlRpcRequest request) 38 public XmlRpcResponse XmlRpcLoginMethod(XmlRpcRequest request)
39 { 39 {
40 40
41 System.Console.WriteLine("Attempting login now..."); 41 MainLog.Instance.Verbose("Attempting login now...");
42 XmlRpcResponse response = new XmlRpcResponse(); 42 XmlRpcResponse response = new XmlRpcResponse();
43 Hashtable requestData = (Hashtable)request.Params[0]; 43 Hashtable requestData = (Hashtable)request.Params[0];
44 44
@@ -121,8 +121,8 @@ namespace OpenSim.Framework.UserManagement
121 this.CustomiseResponse(logResponse, userProfile); 121 this.CustomiseResponse(logResponse, userProfile);
122 } 122 }
123 catch (Exception e) 123 catch (Exception e)
124 { 124 {
125 System.Console.WriteLine(e.ToString()); 125 MainLog.Instance.Verbose(e.ToString());
126 return logResponse.CreateDeadRegionResponse(); 126 return logResponse.CreateDeadRegionResponse();
127 //return logResponse.ToXmlRpcResponse(); 127 //return logResponse.ToXmlRpcResponse();
128 } 128 }
@@ -132,8 +132,8 @@ namespace OpenSim.Framework.UserManagement
132 } 132 }
133 133
134 catch (Exception E) 134 catch (Exception E)
135 { 135 {
136 System.Console.WriteLine(E.ToString()); 136 MainLog.Instance.Verbose(E.ToString());
137 } 137 }
138 //} 138 //}
139 } 139 }