diff options
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 8198592..36957a7 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -46,6 +46,7 @@ namespace OpenSim.Services.GridService | |||
46 | private static readonly ILog m_log = | 46 | private static readonly ILog m_log = |
47 | LogManager.GetLogger( | 47 | LogManager.GetLogger( |
48 | MethodBase.GetCurrentMethod().DeclaringType); | 48 | MethodBase.GetCurrentMethod().DeclaringType); |
49 | private string LogHeader = "[GRID SERVICE]"; | ||
49 | 50 | ||
50 | private bool m_DeleteOnUnregister = true; | 51 | private bool m_DeleteOnUnregister = true; |
51 | private static GridService m_RootInstance = null; | 52 | private static GridService m_RootInstance = null; |
@@ -328,7 +329,11 @@ namespace OpenSim.Services.GridService | |||
328 | } | 329 | } |
329 | } | 330 | } |
330 | 331 | ||
331 | // m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighbours", region.RegionName, rinfos.Count); | 332 | // string rNames = ""; |
333 | // foreach (GridRegion gr in rinfos) | ||
334 | // rNames += gr.RegionName + ","; | ||
335 | // m_log.DebugFormat("{0} region {1} has {2} neighbours ({3})", | ||
336 | // LogHeader, region.RegionName, rinfos.Count, rNames); | ||
332 | } | 337 | } |
333 | else | 338 | else |
334 | { | 339 | { |
@@ -657,7 +662,7 @@ namespace OpenSim.Services.GridService | |||
657 | return; | 662 | return; |
658 | } | 663 | } |
659 | 664 | ||
660 | RegionData region = m_Database.Get((int)Util.RegionToWorldLoc(x), (int)Util.RegionToWorldLoc(y), UUID.Zero); | 665 | RegionData region = m_Database.Get((int)Util.RegionToWorldLoc(x), (int)Util.RegionToWorldLoc(y), UUID.Zero); |
661 | if (region == null) | 666 | if (region == null) |
662 | { | 667 | { |
663 | MainConsole.Instance.OutputFormat("No region found at {0},{1}", x, y); | 668 | MainConsole.Instance.OutputFormat("No region found at {0},{1}", x, y); |