From 75ea84f3d250c8e9bc8cdf68094a7143589e3e0b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 14 Jan 2009 18:46:33 +0000 Subject: * minor: Change around more debugging messages --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 1a3971d..00e5548 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -2483,7 +2483,8 @@ namespace OpenSim.Region.Environment.Scenes if (m_scene.NeedSceneCacheClear(UUID)) { m_scene.CommsManager.UserProfileCacheService.RemoveUser(UUID); - m_log.InfoFormat("[AVATAR]: User {0} is going to another region, profile cache removed", UUID); + m_log.DebugFormat( + "[SCENE PRESENCE]: User {0} is going to another region, profile cache removed", UUID); } } else @@ -2510,7 +2511,9 @@ namespace OpenSim.Region.Environment.Scenes public void CloseChildAgents(uint newRegionX, uint newRegionY) { List byebyeRegions = new List(); - m_log.DebugFormat("[AVATAR]: Closing child agents. Checking {0} regions in {1}", m_knownChildRegions.Keys.Count, Scene.RegionInfo.RegionName); + m_log.DebugFormat( + "[SCENE PRESENCE]: Closing child agents. Checking {0} regions in {1}", + m_knownChildRegions.Keys.Count, Scene.RegionInfo.RegionName); //DumpKnownRegions(); lock (m_knownChildRegions) @@ -2534,11 +2537,13 @@ namespace OpenSim.Region.Environment.Scenes } } } + if (byebyeRegions.Count > 0) { - m_log.Info("[AVATAR]: Closing " + byebyeRegions.Count + " child agents"); + m_log.Debug("[SCENE PRESENCE]: Closing " + byebyeRegions.Count + " child agents"); m_scene.SceneGridService.SendCloseChildAgentConnections(m_controllingClient.AgentId, byebyeRegions); } + foreach (ulong handle in byebyeRegions) { RemoveNeighbourRegion(handle); -- cgit v1.1