diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/MessagingServer/Main.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs index b288b33..bf793bf 100644 --- a/OpenSim/Grid/MessagingServer/Main.cs +++ b/OpenSim/Grid/MessagingServer/Main.cs | |||
@@ -26,11 +26,12 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | ||
30 | using System.IO; | 29 | using System.IO; |
30 | using System.Reflection; | ||
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | using log4net; | ||
33 | using log4net.Config; | ||
32 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
33 | using OpenSim.Framework.Communications.Cache; | ||
34 | using OpenSim.Framework.Console; | 35 | using OpenSim.Framework.Console; |
35 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
36 | 37 | ||
@@ -40,7 +41,7 @@ namespace OpenSim.Grid.MessagingServer | |||
40 | /// </summary> | 41 | /// </summary> |
41 | public class OpenMessage_Main : BaseOpenSimServer, conscmd_callback | 42 | public class OpenMessage_Main : BaseOpenSimServer, conscmd_callback |
42 | { | 43 | { |
43 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
44 | 45 | ||
45 | private MessageServerConfig Cfg; | 46 | private MessageServerConfig Cfg; |
46 | private MessageService msgsvc; | 47 | private MessageService msgsvc; |
@@ -50,7 +51,7 @@ namespace OpenSim.Grid.MessagingServer | |||
50 | [STAThread] | 51 | [STAThread] |
51 | public static void Main(string[] args) | 52 | public static void Main(string[] args) |
52 | { | 53 | { |
53 | log4net.Config.XmlConfigurator.Configure(); | 54 | XmlConfigurator.Configure(); |
54 | 55 | ||
55 | m_log.Info("Launching MessagingServer..."); | 56 | m_log.Info("Launching MessagingServer..."); |
56 | 57 | ||