Improve UserServer login messages for logging.
parent
e2ed1a4e1f
commit
0eec2ad030
|
@ -60,7 +60,8 @@ namespace OpenSim.Grid.UserServer
|
||||||
public override void CustomiseResponse(LoginResponse response, UserProfileData theUser)
|
public override void CustomiseResponse(LoginResponse response, UserProfileData theUser)
|
||||||
{
|
{
|
||||||
bool tryDefault = false;
|
bool tryDefault = false;
|
||||||
MainLog.Instance.Verbose("LOGIN", "Load information from the gridserver");
|
//CFK: Since the try is always "tried", the "Home Location" message should always appear, so comment this one.
|
||||||
|
//CFK: MainLog.Instance.Verbose("LOGIN", "Load information from the gridserver");
|
||||||
RegionProfileData SimInfo = new RegionProfileData();
|
RegionProfileData SimInfo = new RegionProfileData();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -78,8 +79,10 @@ namespace OpenSim.Grid.UserServer
|
||||||
theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}";
|
theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}";
|
||||||
|
|
||||||
// Destination
|
// Destination
|
||||||
MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " +
|
//CFK: The "Notifying" message always seems to appear, so subsume the data from this message into
|
||||||
SimInfo.regionLocY);
|
//CFK: the next one for X & Y and comment this one.
|
||||||
|
//CFK: MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX +
|
||||||
|
//CFK: "; Region Y: " + SimInfo.regionLocY);
|
||||||
response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString();
|
response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString();
|
||||||
response.SimPort = (uint) SimInfo.serverPort;
|
response.SimPort = (uint) SimInfo.serverPort;
|
||||||
response.RegionX = SimInfo.regionLocX;
|
response.RegionX = SimInfo.regionLocX;
|
||||||
|
@ -90,7 +93,8 @@ 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", "Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")");
|
MainLog.Instance.Verbose("LOGIN", SimInfo.regionName + " (" + SimInfo.serverURI + ") " +
|
||||||
|
SimInfo.regionLocX + "," + SimInfo.regionLocY);
|
||||||
|
|
||||||
// Prepare notification
|
// Prepare notification
|
||||||
Hashtable SimParams = new Hashtable();
|
Hashtable SimParams = new Hashtable();
|
||||||
|
|
Loading…
Reference in New Issue