aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index 0f0104e..0534e3b 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -28,7 +28,11 @@
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.IO; 30using System.IO;
31using System.Net;
32using System.Reflection;
31using libsecondlife; 33using libsecondlife;
34using log4net;
35using log4net.Config;
32using OpenSim.Framework; 36using OpenSim.Framework;
33using OpenSim.Framework.Communications.Cache; 37using OpenSim.Framework.Communications.Cache;
34using OpenSim.Framework.Console; 38using OpenSim.Framework.Console;
@@ -41,7 +45,7 @@ namespace OpenSim.Grid.UserServer
41 /// </summary> 45 /// </summary>
42 public class OpenUser_Main : BaseOpenSimServer, conscmd_callback 46 public class OpenUser_Main : BaseOpenSimServer, conscmd_callback
43 { 47 {
44 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
45 49
46 private UserConfig Cfg; 50 private UserConfig Cfg;
47 51
@@ -54,7 +58,7 @@ namespace OpenSim.Grid.UserServer
54 [STAThread] 58 [STAThread]
55 public static void Main(string[] args) 59 public static void Main(string[] args)
56 { 60 {
57 log4net.Config.XmlConfigurator.Configure(); 61 XmlConfigurator.Configure();
58 62
59 m_log.Info("Launching UserServer..."); 63 m_log.Info("Launching UserServer...");
60 64
@@ -191,7 +195,7 @@ namespace OpenSim.Grid.UserServer
191 } 195 }
192 196
193 } 197 }
194 catch (System.Net.WebException e) 198 catch (WebException e)
195 { 199 {
196 m_log.ErrorFormat( 200 m_log.ErrorFormat(
197 "[USERS]: Could not contact the inventory service at {0} to create an inventory for {1}", 201 "[USERS]: Could not contact the inventory service at {0} to create an inventory for {1}",