From 0bfacb7892b608bb1cc7098acc555e7b4a1536ed Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 20 May 2020 03:02:01 +0100 Subject: [PATCH] change hg link request log message --- OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs | 1 + OpenSim/Services/HypergridService/GatekeeperService.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs b/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs index 6bd24dbc1b..be5988cb2f 100644 --- a/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs +++ b/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs @@ -73,6 +73,7 @@ namespace OpenSim.Server.Handlers.Hypergrid int sizeX = 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); Hashtable hash = new Hashtable(); diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 8ad9df8cef..edbff32f8f 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -187,7 +187,7 @@ namespace OpenSim.Services.HypergridService reason = string.Empty; 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) { List defs = m_GridService.GetDefaultHypergridRegions(m_ScopeID);