aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/AssetServer/Main.cs')
-rw-r--r--OpenSim/Grid/AssetServer/Main.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs
index 3a38e85..5a013b9 100644
--- a/OpenSim/Grid/AssetServer/Main.cs
+++ b/OpenSim/Grid/AssetServer/Main.cs
@@ -29,6 +29,8 @@ using System;
29using System.IO; 29using System.IO;
30using System.Reflection; 30using System.Reflection;
31using libsecondlife; 31using libsecondlife;
32using log4net;
33using log4net.Config;
32using OpenSim.Framework; 34using OpenSim.Framework;
33using OpenSim.Framework.AssetLoader.Filesystem; 35using OpenSim.Framework.AssetLoader.Filesystem;
34using OpenSim.Framework.Console; 36using OpenSim.Framework.Console;
@@ -42,7 +44,7 @@ namespace OpenSim.Grid.AssetServer
42 /// </summary> 44 /// </summary>
43 public class OpenAsset_Main : BaseOpenSimServer, conscmd_callback 45 public class OpenAsset_Main : BaseOpenSimServer, conscmd_callback
44 { 46 {
45 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 48
47 public AssetConfig m_config; 49 public AssetConfig m_config;
48 50
@@ -56,7 +58,7 @@ namespace OpenSim.Grid.AssetServer
56 [STAThread] 58 [STAThread]
57 public static void Main(string[] args) 59 public static void Main(string[] args)
58 { 60 {
59 log4net.Config.XmlConfigurator.Configure(); 61 XmlConfigurator.Configure();
60 62
61 m_log.Info("Starting...\n"); 63 m_log.Info("Starting...\n");
62 64