From 03687e2b432ded0c12d1da4e6959b80c97452187 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 17 Apr 2009 05:23:36 +0000 Subject: * Added some debug info if MXP is enabled. --- OpenSim/Client/MXP/MXPModule.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Client') diff --git a/OpenSim/Client/MXP/MXPModule.cs b/OpenSim/Client/MXP/MXPModule.cs index 4eb0058..082bcc3 100644 --- a/OpenSim/Client/MXP/MXPModule.cs +++ b/OpenSim/Client/MXP/MXPModule.cs @@ -27,8 +27,10 @@ using System; using System.Collections.Generic; +using System.Reflection; using System.Text; using System.Timers; +using log4net; using MXP; using Nini.Config; using OpenMetaverse; @@ -44,6 +46,8 @@ namespace OpenSim.Client.MXP */ public class MXPModule : IRegionModule { + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private MXPPacketServer m_server; private IConfigSource m_config; @@ -78,6 +82,8 @@ namespace OpenSim.Client.MXP m_ticker.Elapsed += ticker_Elapsed; m_ticker.Start(); + + m_log.Info("[MXP] MXP Enabled and Listening"); } } -- cgit v1.1