aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-19 01:27:06 +0000
committerJustin Clark-Casey (justincc)2011-11-19 01:27:06 +0000
commit726ca72c479dc5c9510631e675c932f1331e92bb (patch)
tree639f031a79f4f78c062ec800850af4194743b62e /OpenSim
parentGet rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent 57956c4b-ff... (diff)
downloadopensim-SC_OLD-726ca72c479dc5c9510631e675c932f1331e92bb.zip
opensim-SC_OLD-726ca72c479dc5c9510631e675c932f1331e92bb.tar.gz
opensim-SC_OLD-726ca72c479dc5c9510631e675c932f1331e92bb.tar.bz2
opensim-SC_OLD-726ca72c479dc5c9510631e675c932f1331e92bb.tar.xz
minor: Make HelloNeighbour messages more informative
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Neighbour/LocalNeighbourServiceConnector.cs15
1 files changed, 10 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Neighbour/LocalNeighbourServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Neighbour/LocalNeighbourServiceConnector.cs
index f71bf46..40cc536 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Neighbour/LocalNeighbourServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Neighbour/LocalNeighbourServiceConnector.cs
@@ -25,11 +25,12 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using log4net;
29using Nini.Config;
30using System; 28using System;
31using System.Collections.Generic; 29using System.Collections.Generic;
32using System.Reflection; 30using System.Reflection;
31using log4net;
32using Nini.Config;
33using OpenMetaverse;
33using OpenSim.Framework; 34using OpenSim.Framework;
34using OpenSim.Server.Base; 35using OpenSim.Server.Base;
35using OpenSim.Region.Framework.Interfaces; 36using OpenSim.Region.Framework.Interfaces;
@@ -119,10 +120,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour
119 120
120 #region INeighbourService 121 #region INeighbourService
121 122
122 public GridRegion HelloNeighbour(ulong regionHandle, RegionInfo thisRegion) 123 public OpenSim.Services.Interfaces.GridRegion HelloNeighbour(ulong regionHandle, RegionInfo thisRegion)
123 { 124 {
124 m_log.DebugFormat("[NEIGHBOUR CONNECTOR]: HelloNeighbour from {0}, to {1}.", 125 uint x, y;
125 thisRegion.RegionName, regionHandle); 126 Utils.LongToUInts(regionHandle, out x, out y);
127
128 m_log.DebugFormat("[NEIGHBOUR CONNECTOR]: HelloNeighbour from region {0} to region at {1}-{2}",
129 thisRegion.RegionName, x / Constants.RegionSize, y / Constants.RegionSize);
130
126 foreach (Scene s in m_Scenes) 131 foreach (Scene s in m_Scenes)
127 { 132 {
128 if (s.RegionInfo.RegionHandle == regionHandle) 133 if (s.RegionInfo.RegionHandle == regionHandle)