aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP/MXPModule.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-04-17 05:23:36 +0000
committerAdam Frisby2009-04-17 05:23:36 +0000
commit03687e2b432ded0c12d1da4e6959b80c97452187 (patch)
tree808242119268c58311f0c42fefa3898c1e358b63 /OpenSim/Client/MXP/MXPModule.cs
parent* Set some minimum values to avoid divide by zero errors. (diff)
downloadopensim-SC_OLD-03687e2b432ded0c12d1da4e6959b80c97452187.zip
opensim-SC_OLD-03687e2b432ded0c12d1da4e6959b80c97452187.tar.gz
opensim-SC_OLD-03687e2b432ded0c12d1da4e6959b80c97452187.tar.bz2
opensim-SC_OLD-03687e2b432ded0c12d1da4e6959b80c97452187.tar.xz
* Added some debug info if MXP is enabled.
Diffstat (limited to 'OpenSim/Client/MXP/MXPModule.cs')
-rw-r--r--OpenSim/Client/MXP/MXPModule.cs6
1 files changed, 6 insertions, 0 deletions
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 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Reflection;
30using System.Text; 31using System.Text;
31using System.Timers; 32using System.Timers;
33using log4net;
32using MXP; 34using MXP;
33using Nini.Config; 35using Nini.Config;
34using OpenMetaverse; 36using OpenMetaverse;
@@ -44,6 +46,8 @@ namespace OpenSim.Client.MXP
44 */ 46 */
45 public class MXPModule : IRegionModule 47 public class MXPModule : IRegionModule
46 { 48 {
49 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
50
47 private MXPPacketServer m_server; 51 private MXPPacketServer m_server;
48 52
49 private IConfigSource m_config; 53 private IConfigSource m_config;
@@ -78,6 +82,8 @@ namespace OpenSim.Client.MXP
78 m_ticker.Elapsed += ticker_Elapsed; 82 m_ticker.Elapsed += ticker_Elapsed;
79 83
80 m_ticker.Start(); 84 m_ticker.Start();
85
86 m_log.Info("[MXP] MXP Enabled and Listening");
81 } 87 }
82 } 88 }
83 89