From a31792ee5cb1ce619f21f5b428926c4709c3f14b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 6 Jan 2009 21:39:55 +0000 Subject: * prune and regrade log messages relating to client login and logout --- OpenSim/Region/Environment/Scenes/Scene.cs | 10 ---------- .../Environment/Scenes/SceneCommunicationService.cs | 2 -- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 18 +++--------------- 3 files changed, 3 insertions(+), 27 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 18afb86..3bf6cef 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2576,7 +2576,6 @@ namespace OpenSim.Region.Environment.Scenes if (avatar.Scene.NeedSceneCacheClear(avatar.UUID)) { - m_log.InfoFormat("[SCENE]: User {0} is going to another region, profile cache removed in {1}", avatar.UUID, RegionInfo.RegionName); CommsManager.UserProfileCacheService.RemoveUser(agentID); } @@ -2860,10 +2859,6 @@ namespace OpenSim.Region.Environment.Scenes String capsObjectPath = GetCapsPath(agentId); - m_log.DebugFormat( - "[CAPS]: Setting up CAPS handler for agent {0} in {1}", - agentId, RegionInfo.RegionName); - Caps cap = null; if (m_capsHandlers.TryGetValue(agentId, out cap)) { @@ -2908,7 +2903,6 @@ namespace OpenSim.Region.Environment.Scenes { if (childrenSeeds.ContainsKey(agentId)) { - //Console.WriteLine(" !!! Removing seeds for {0} in {1}", agentId, RegionInfo.RegionName); childrenSeeds.Remove(agentId); } @@ -2916,10 +2910,6 @@ namespace OpenSim.Region.Environment.Scenes { if (m_capsHandlers.ContainsKey(agentId)) { - m_log.DebugFormat( - "[CAPS]: Removing CAPS handler for root agent {0} in {1}", - agentId, RegionInfo.RegionName); - m_capsHandlers[agentId].DeregisterHandlers(); EventManager.TriggerOnDeregisterCaps(agentId, m_capsHandlers[agentId]); diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index ba8080c..7997fba 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -355,8 +355,6 @@ namespace OpenSim.Region.Environment.Scenes neighbours = m_commsProvider.GridService.RequestNeighbours(m_regionInfo.RegionLocX, m_regionInfo.RegionLocY); - m_log.Debug("[SCM]: EnableChildAgents from " + avatar.Scene.RegionInfo.RegionName); - /// We need to find the difference between the new regions where there are no child agents /// and the regions where there are already child agents. We only send notification to the former. List neighbourHandles = NeighbourHandles(neighbours); // on this region diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 073457b..78e3a83 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -505,7 +505,6 @@ namespace OpenSim.Region.Environment.Scenes get { return m_knownChildRegions; } set { - //Console.WriteLine(" !! Setting known regions in {0} to {1}", Scene.RegionInfo.RegionName, value.Count); m_knownChildRegions = value; } } @@ -587,8 +586,6 @@ namespace OpenSim.Region.Environment.Scenes CachedUserInfo userInfo = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(m_uuid); if (userInfo != null) userInfo.OnItemReceived += ItemReceived; - - m_log.Info("[AVATAR]: New ScenePresence in " + Scene.RegionInfo.RegionName); } public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams, @@ -803,7 +800,7 @@ namespace OpenSim.Region.Environment.Scenes "[SCENE]: Upgrading child to root agent for {0} in {1}", Name, m_scene.RegionInfo.RegionName); - m_log.DebugFormat("[SCENE]: known regions in {0}: {1}", Scene.RegionInfo.RegionName, KnownChildRegionHandles.Count); + //m_log.DebugFormat("[SCENE]: known regions in {0}: {1}", Scene.RegionInfo.RegionName, KnownChildRegionHandles.Count); IGroupsModule gm = m_scene.RequestModuleInterface(); if (gm != null) @@ -2172,9 +2169,7 @@ namespace OpenSim.Region.Environment.Scenes /// /// public void SendWearables() - { - m_log.DebugFormat("[APPEARANCE]: Sending wearables to {0}", Name); - + { ControllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++); } @@ -2183,8 +2178,6 @@ namespace OpenSim.Region.Environment.Scenes /// public void SendAppearanceToAllOtherAgents() { - m_log.DebugFormat("[APPEARANCE]: Sending appearance to all other agents for {0}", Name); - m_perfMonMS = System.Environment.TickCount; m_scene.ForEachScenePresence(delegate(ScenePresence scenePresence) @@ -2215,8 +2208,6 @@ namespace OpenSim.Region.Environment.Scenes /// public void SetAppearance(byte[] texture, List visualParam) { - m_log.DebugFormat("[APPEARANCE]: Receiving appearance for {0}", Name); - m_appearance.SetAppearance(texture, visualParam); SetHeight(m_appearance.AvatarHeight); m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); @@ -2232,8 +2223,6 @@ namespace OpenSim.Region.Environment.Scenes public void SetWearable(int wearableId, AvatarWearable wearable) { - m_log.DebugFormat("[APPEARANCE]: Setting wearable for {0}", Name); - m_appearance.SetWearable(wearableId, wearable); m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); m_controllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++); @@ -2466,8 +2455,7 @@ namespace OpenSim.Region.Environment.Scenes IEventQueue eq = m_scene.RequestModuleInterface(); if (eq != null) - { - + { OSD Item = EventQueueHelper.CrossRegion(neighbourHandle, newpos, vel, neighbourRegion.ExternalEndPoint, capsPath, UUID, ControllingClient.SessionId); eq.Enqueue(Item, UUID); -- cgit v1.1