diff options
Diffstat (limited to 'OpenSim/Grid/AssetServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 6 |
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; | |||
29 | using System.IO; | 29 | using System.IO; |
30 | using System.Reflection; | 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.AssetLoader.Filesystem; | 35 | using OpenSim.Framework.AssetLoader.Filesystem; |
34 | using OpenSim.Framework.Console; | 36 | using 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 | ||