diff options
author | Adam Frisby | 2009-04-17 05:23:36 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-17 05:23:36 +0000 |
commit | 03687e2b432ded0c12d1da4e6959b80c97452187 (patch) | |
tree | 808242119268c58311f0c42fefa3898c1e358b63 | |
parent | * Set some minimum values to avoid divide by zero errors. (diff) | |
download | opensim-SC-03687e2b432ded0c12d1da4e6959b80c97452187.zip opensim-SC-03687e2b432ded0c12d1da4e6959b80c97452187.tar.gz opensim-SC-03687e2b432ded0c12d1da4e6959b80c97452187.tar.bz2 opensim-SC-03687e2b432ded0c12d1da4e6959b80c97452187.tar.xz |
* Added some debug info if MXP is enabled.
-rw-r--r-- | OpenSim/Client/MXP/MXPModule.cs | 6 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | ||
30 | using System.Text; | 31 | using System.Text; |
31 | using System.Timers; | 32 | using System.Timers; |
33 | using log4net; | ||
32 | using MXP; | 34 | using MXP; |
33 | using Nini.Config; | 35 | using Nini.Config; |
34 | using OpenMetaverse; | 36 | using 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 | ||