From 786ff98f6decce315e8cdf160b806237b00cc4ed Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 14 May 2009 21:38:17 +0000 Subject: Remove all messages from the groups module that would be output when it is NOT enabled. --- .../OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs') diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs index da7aa6b..24d539f 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs @@ -72,25 +72,20 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups { IConfig groupsConfig = config.Configs["Groups"]; - m_log.Info("[GROUPS-MESSAGING]: Initializing XmlRpcGroupsMessaging"); - if (groupsConfig == null) { // Do not run this module by default. - m_log.Info("[GROUPS-MESSAGING]: No config found in OpenSim.ini -- not enabling XmlRpcGroupsMessaging"); return; } else { if (!groupsConfig.GetBoolean("Enabled", false)) { - m_log.Info("[GROUPS-MESSAGING]: Groups disabled in configuration"); return; } if (groupsConfig.GetString("Module", "Default") != "XmlRpcGroups") { - m_log.Info("[GROUPS-MESSAGING]: Config Groups Module not set to XmlRpcGroups"); m_groupMessagingEnabled = false; return; @@ -100,10 +95,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups if (!m_groupMessagingEnabled) { - m_log.Info("[GROUPS-MESSAGING]: XmlRpcGroups Messaging disabled."); return; } + m_log.Info("[GROUPS-MESSAGING]: Initializing XmlRpcGroupsMessaging"); + m_debugEnabled = groupsConfig.GetBoolean("XmlRpcDebugEnabled", true); } -- cgit v1.1