mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Modifications to debugging printouts. No functional changes.
This commit is contained in:
@@ -46,6 +46,7 @@ namespace OpenSim.Services.GridService
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(
|
||||
MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private string LogHeader = "[GRID SERVICE]";
|
||||
|
||||
private bool m_DeleteOnUnregister = true;
|
||||
private static GridService m_RootInstance = null;
|
||||
@@ -328,7 +329,11 @@ namespace OpenSim.Services.GridService
|
||||
}
|
||||
}
|
||||
|
||||
// m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighbours", region.RegionName, rinfos.Count);
|
||||
// string rNames = "";
|
||||
// foreach (GridRegion gr in rinfos)
|
||||
// rNames += gr.RegionName + ",";
|
||||
// m_log.DebugFormat("{0} region {1} has {2} neighbours ({3})",
|
||||
// LogHeader, region.RegionName, rinfos.Count, rNames);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -657,7 +662,7 @@ namespace OpenSim.Services.GridService
|
||||
return;
|
||||
}
|
||||
|
||||
RegionData region = m_Database.Get((int)Util.RegionToWorldLoc(x), (int)Util.RegionToWorldLoc(y), UUID.Zero);
|
||||
RegionData region = m_Database.Get((int)Util.RegionToWorldLoc(x), (int)Util.RegionToWorldLoc(y), UUID.Zero);
|
||||
if (region == null)
|
||||
{
|
||||
MainConsole.Instance.OutputFormat("No region found at {0},{1}", x, y);
|
||||
|
||||
Reference in New Issue
Block a user