diff options
author | Robert Adams | 2014-05-31 12:10:50 -0700 |
---|---|---|
committer | Robert Adams | 2014-05-31 12:19:51 -0700 |
commit | 0300ec45ebc7b8696c64bf4575bf674a6b1a8fa7 (patch) | |
tree | b76e90c764c068ab65fde1ead2016ba9edafcb58 /OpenSim/Services/GridService/GridService.cs | |
parent | varregion: More tweeking to only sending patches within avatar draw distance. (diff) | |
download | opensim-SC-0300ec45ebc7b8696c64bf4575bf674a6b1a8fa7.zip opensim-SC-0300ec45ebc7b8696c64bf4575bf674a6b1a8fa7.tar.gz opensim-SC-0300ec45ebc7b8696c64bf4575bf674a6b1a8fa7.tar.bz2 opensim-SC-0300ec45ebc7b8696c64bf4575bf674a6b1a8fa7.tar.xz |
Modifications to debugging printouts. No functional changes.
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); |