change hg link request log message

master
UbitUmarov 2020-05-20 03:02:01 +01:00
parent fffac7d531
commit 0bfacb7892
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
int sizeX = 256; int sizeX = 256;
int sizeY = 256; int sizeY = 256;
m_log.DebugFormat("[HG Handler]: XMLRequest to link to {0} from {1}", (name == string.Empty) ? "default region" : name, remoteClient.Address.ToString());
bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason, out sizeX, out sizeY); bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason, out sizeX, out sizeY);
Hashtable hash = new Hashtable(); Hashtable hash = new Hashtable();

View File

@ -187,7 +187,7 @@ namespace OpenSim.Services.HypergridService
reason = string.Empty; reason = string.Empty;
GridRegion region = null; GridRegion region = null;
m_log.DebugFormat("[GATEKEEPER SERVICE]: Request to link to {0}", (regionName == string.Empty)? "default region" : regionName); //m_log.DebugFormat("[GATEKEEPER SERVICE]: Request to link to {0}", (regionName == string.Empty)? "default region" : regionName);
if (!m_AllowTeleportsToAnyRegion || regionName == string.Empty) if (!m_AllowTeleportsToAnyRegion || regionName == string.Empty)
{ {
List<GridRegion> defs = m_GridService.GetDefaultHypergridRegions(m_ScopeID); List<GridRegion> defs = m_GridService.GetDefaultHypergridRegions(m_ScopeID);