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 --- .../Modules/Avatar/Groups/GroupsModule.cs | 33 +++++++++------------- 1 file changed, 13 insertions(+), 20 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Avatar/Groups') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs index eea8e40..dbb645e 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs @@ -64,13 +64,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups if (groupsConfig == null) { - m_log.Info("[GROUPS] No configuration found. Using defaults"); + m_log.Info("[GROUPS]: No configuration found. Using defaults"); } else { if (!groupsConfig.GetBoolean("Enabled", false)) { - m_log.Info("[GROUPS] Groups disabled in configuration"); + m_log.Info("[GROUPS]: Groups disabled in configuration"); return; } @@ -78,8 +78,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups return; } - m_log.Info("[GROUPS] Activated default groups module"); - lock (m_SceneList) { if (!m_SceneList.Contains(scene)) @@ -109,7 +107,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups public void Close() { - m_log.Info("[GROUP]: Shutting down group module."); +// m_log.Debug("[GROUPS]: Shutting down group module."); + lock (m_ClientMap) { m_ClientMap.Clear(); @@ -135,7 +134,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups private void OnNewClient(IClientAPI client) { - // Subscribe to instant messages client.OnInstantMessage += OnInstantMessage; client.OnAgentDataUpdateRequest += OnAgentDataUpdateRequest; @@ -148,9 +146,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups } } - m_log.Info("[GROUP]: Adding " + client.Name + " to " + - osGroup.GroupName + " "); - GroupMembershipData[] updateGroups = new GroupMembershipData[1]; updateGroups[0] = osGroup; @@ -211,17 +206,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups { if (m_ClientMap.ContainsKey(agentID)) { - IClientAPI cli = m_ClientMap[agentID]; - if (cli != null) - { - m_log.Info("[GROUP]: Removing all reference to groups "+ - "for " + cli.Name); - } - else - { - m_log.Info("[GROUP]: Removing all reference to groups "+ - "for " + agentID.ToString()); - } +// IClientAPI cli = m_ClientMap[agentID]; +// if (cli != null) +// { +// //m_log.Info("[GROUPS]: Removing all reference to groups for " + cli.Name); +// } +// else +// { +// //m_log.Info("[GROUPS]: Removing all reference to groups for " + agentID.ToString()); +// } m_ClientMap.Remove(agentID); } } -- cgit v1.1