A bit more tuning of UserServer messages.

afrisby
Charles Krinke 2007-12-16 22:15:36 +00:00
parent b56c61ce0a
commit f426423f21
1 changed files with 8 additions and 6 deletions

View File

@ -94,8 +94,10 @@ namespace OpenSim.Grid.UserServer
response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/";
// Notify the target of an incoming user // Notify the target of an incoming user
MainLog.Instance.Verbose("LOGIN", SimInfo.regionName + " (" + SimInfo.serverURI + ") " + //CFK: The "Notifying" message always seems to appear, so subsume the data from this message into
SimInfo.regionLocX + "," + SimInfo.regionLocY); //CFK: the next one for X & Y and comment this one.
//CFK: MainLog.Instance.Verbose("LOGIN", SimInfo.regionName + " (" + SimInfo.serverURI + ") " +
//CFK: SimInfo.regionLocX + "," + SimInfo.regionLocY);
// Prepare notification // Prepare notification
Hashtable SimParams = new Hashtable(); Hashtable SimParams = new Hashtable();
@ -117,9 +119,9 @@ namespace OpenSim.Grid.UserServer
theUser.currentAgent.currentRegion = SimInfo.UUID; theUser.currentAgent.currentRegion = SimInfo.UUID;
theUser.currentAgent.currentHandle = SimInfo.regionHandle; theUser.currentAgent.currentHandle = SimInfo.regionHandle;
MainLog.Instance.Verbose("LOGIN", "Informing region at " + SimInfo.httpServerURI); MainLog.Instance.Verbose("LOGIN", "Informing " + SimInfo.httpServerURI + " @ " +
// Send SimInfo.regionLocX + "," + SimInfo.regionLocY);
XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams);
XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000); XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000);
} }
@ -136,7 +138,7 @@ namespace OpenSim.Grid.UserServer
MainLog.Instance.Warn( MainLog.Instance.Warn(
"LOGIN", "LOGIN",
"Home region not available: sending to default region " + defaultHandle.ToString()); "Home region not available: sending to default " + defaultHandle.ToString());
SimInfo = new RegionProfileData(); SimInfo = new RegionProfileData();
try try