coment some debug messages

LSLKeyTest
UbitUmarov 2016-08-23 11:52:52 +01:00
parent 8eacc6b207
commit ed6d9199ce
4 changed files with 7 additions and 7 deletions

View File

@ -126,8 +126,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess) public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
{ {
m_log.DebugFormat("[LAND IN CONNECTOR]: GetLandData for {0}. Count = {1}", // m_log.DebugFormat("[LAND IN CONNECTOR]: GetLandData for {0}. Count = {1}",
regionHandle, m_Scenes.Count); // regionHandle, m_Scenes.Count);
uint rx = 0, ry = 0; uint rx = 0, ry = 0;
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry); Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);
@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
t += s.RegionInfo.RegionSizeY; t += s.RegionInfo.RegionSizeY;
if( ry < t) if( ry < t)
{ {
m_log.Debug("[LAND IN CONNECTOR]: Found region to GetLandData from"); // m_log.Debug("[LAND IN CONNECTOR]: Found region to GetLandData from");
regionAccess = s.RegionInfo.AccessLevel; regionAccess = s.RegionInfo.AccessLevel;
return s.GetLandData(x, y); return s.GetLandData(x, y);
} }

View File

@ -121,8 +121,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess) public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
{ {
regionAccess = 2; regionAccess = 2;
m_log.DebugFormat("[LAND CONNECTOR]: request for land data in {0} at {1}, {2}", // m_log.DebugFormat("[LAND CONNECTOR]: request for land data in {0} at {1}, {2}",
regionHandle, x, y); // regionHandle, x, y);
uint rx = 0, ry = 0; uint rx = 0, ry = 0;
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry); Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);

View File

@ -5028,7 +5028,7 @@ Label_GroupsDone:
public LandData GetLandData(uint x, uint y) public LandData GetLandData(uint x, uint y)
{ {
m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y); // m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y);
ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y); ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y);
if (parcel == null) if (parcel == null)
return null; return null;

View File

@ -64,7 +64,7 @@ namespace OpenSim.Server.Handlers.Land
ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]); ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]);
uint x = Convert.ToUInt32(requestData["x"]); uint x = Convert.ToUInt32(requestData["x"]);
uint y = Convert.ToUInt32(requestData["y"]); uint y = Convert.ToUInt32(requestData["y"]);
m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle); // m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle);
byte regionAccess; byte regionAccess;
LandData landData = m_LocalService.GetLandData(UUID.Zero, regionHandle, x, y, out regionAccess); LandData landData = m_LocalService.GetLandData(UUID.Zero, regionHandle, x, y, out regionAccess);