diff options
author | Charles Krinke | 2007-10-12 13:50:11 +0000 |
---|---|---|
committer | Charles Krinke | 2007-10-12 13:50:11 +0000 |
commit | e41b0feb5895365e8f4b41b13facf6d07e6a6a44 (patch) | |
tree | 0c91d168ed593c53ce1d9b7ed6f6ea57aaa79376 /OpenSim/Grid | |
parent | Opdated the MySql.Data.dll in bin to version 5.0.8.1. runprebuild should be r... (diff) | |
download | opensim-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/Grid')
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index e18191f..ad26840 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -37,8 +37,8 @@ namespace OpenSim.Grid.UserServer | |||
37 | "'position':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "], " + | 37 | "'position':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "], " + |
38 | "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; | 38 | "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; |
39 | 39 | ||
40 | // Destination | 40 | // Destination |
41 | Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); | 41 | MainLog.Instance.Verbose("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); |
42 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); | 42 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
43 | response.SimPort = (Int32)SimInfo.serverPort; | 43 | response.SimPort = (Int32)SimInfo.serverPort; |
44 | response.RegionX = SimInfo.regionLocX; | 44 | response.RegionX = SimInfo.regionLocX; |
@@ -48,8 +48,8 @@ namespace OpenSim.Grid.UserServer | |||
48 | string capsPath = Util.GetRandomCapsPath(); | 48 | string capsPath = Util.GetRandomCapsPath(); |
49 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; | 49 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; |
50 | 50 | ||
51 | // Notify the target of an incoming user | 51 | // Notify the target of an incoming user |
52 | Console.WriteLine("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); | 52 | MainLog.Instance.Verbose("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); |
53 | 53 | ||
54 | // Prepare notification | 54 | // Prepare notification |
55 | Hashtable SimParams = new Hashtable(); | 55 | Hashtable SimParams = new Hashtable(); |
@@ -69,9 +69,9 @@ namespace OpenSim.Grid.UserServer | |||
69 | 69 | ||
70 | // Update agent with target sim | 70 | // Update agent with target sim |
71 | theUser.currentAgent.currentRegion = SimInfo.UUID; | 71 | theUser.currentAgent.currentRegion = SimInfo.UUID; |
72 | theUser.currentAgent.currentHandle = SimInfo.regionHandle; | 72 | theUser.currentAgent.currentHandle = SimInfo.regionHandle; |
73 | 73 | ||
74 | System.Console.WriteLine("Informing region --> " + SimInfo.httpServerURI); | 74 | MainLog.Instance.Verbose("Informing region --> " + SimInfo.httpServerURI); |
75 | // Send | 75 | // Send |
76 | try | 76 | try |
77 | { | 77 | { |