aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid
diff options
context:
space:
mode:
authorCharles Krinke2007-10-13 01:03:27 +0000
committerCharles Krinke2007-10-13 01:03:27 +0000
commita0b1ab225876c5bac71466fec375cd992a02b23d (patch)
tree8cfff2ad5bab76c90212df95eca22792db50c877 /OpenSim/Grid
parent* Just extracted a standard ToXml() on SceneObjectGroup (diff)
downloadopensim-SC_OLD-a0b1ab225876c5bac71466fec375cd992a02b23d.zip
opensim-SC_OLD-a0b1ab225876c5bac71466fec375cd992a02b23d.tar.gz
opensim-SC_OLD-a0b1ab225876c5bac71466fec375cd992a02b23d.tar.bz2
opensim-SC_OLD-a0b1ab225876c5bac71466fec375cd992a02b23d.tar.xz
Change 3 UserServer login messages from writeline to MainLog to help diagnose failed grid logins.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r--OpenSim/Grid/UserServer/UserLoginService.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs
index e18191f..df251ec 100644
--- a/OpenSim/Grid/UserServer/UserLoginService.cs
+++ b/OpenSim/Grid/UserServer/UserLoginService.cs
@@ -7,6 +7,7 @@ using OpenSim.Framework.UserManagement;
7using OpenSim.Framework.Utilities; 7using OpenSim.Framework.Utilities;
8using OpenSim.Framework.Configuration; 8using OpenSim.Framework.Configuration;
9using OpenSim.Framework.Types; 9using OpenSim.Framework.Types;
10using OpenSim.Framework.Console;
10 11
11namespace OpenSim.Grid.UserServer 12namespace OpenSim.Grid.UserServer
12{ 13{
@@ -38,7 +39,7 @@ namespace OpenSim.Grid.UserServer
38 "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; 39 "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}";
39 40
40 // Destination 41 // Destination
41 Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); 42 MainLog.Instance.Verbose("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY);
42 response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); 43 response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString();
43 response.SimPort = (Int32)SimInfo.serverPort; 44 response.SimPort = (Int32)SimInfo.serverPort;
44 response.RegionX = SimInfo.regionLocX; 45 response.RegionX = SimInfo.regionLocX;
@@ -49,7 +50,7 @@ namespace OpenSim.Grid.UserServer
49 response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; 50 response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/";
50 51
51 // Notify the target of an incoming user 52 // Notify the target of an incoming user
52 Console.WriteLine("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); 53 MainLog.Instance.Verbose("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")");
53 54
54 // Prepare notification 55 // Prepare notification
55 Hashtable SimParams = new Hashtable(); 56 Hashtable SimParams = new Hashtable();
@@ -71,7 +72,7 @@ namespace OpenSim.Grid.UserServer
71 theUser.currentAgent.currentRegion = SimInfo.UUID; 72 theUser.currentAgent.currentRegion = SimInfo.UUID;
72 theUser.currentAgent.currentHandle = SimInfo.regionHandle; 73 theUser.currentAgent.currentHandle = SimInfo.regionHandle;
73 74
74 System.Console.WriteLine("Informing region --> " + SimInfo.httpServerURI); 75 MainLog.Instance.Verbose("Informing region --> " + SimInfo.httpServerURI);
75 // Send 76 // Send
76 try 77 try
77 { 78 {
@@ -84,6 +85,7 @@ namespace OpenSim.Grid.UserServer
84 { 85 {
85 case WebExceptionStatus.Timeout: 86 case WebExceptionStatus.Timeout:
86 //TODO: Send him to nearby or default region instead 87 //TODO: Send him to nearby or default region instead
88 MainLog.Instance.Verbose("Unable to connect to " + SimInfo.regionName + " (" + SimInfo.serverURI + ")");
87 break; 89 break;
88 90
89 default: 91 default: