aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer
diff options
context:
space:
mode:
authorCharles Krinke2009-02-22 20:52:55 +0000
committerCharles Krinke2009-02-22 20:52:55 +0000
commit8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch)
tree96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Grid/AssetInventoryServer
parentAllow delivery of object messages gridwide (diff)
downloadopensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer')
-rw-r--r--OpenSim/Grid/AssetInventoryServer/Main.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Main.cs b/OpenSim/Grid/AssetInventoryServer/Main.cs
index 67aaf95..598b754 100644
--- a/OpenSim/Grid/AssetInventoryServer/Main.cs
+++ b/OpenSim/Grid/AssetInventoryServer/Main.cs
@@ -28,11 +28,15 @@
28using System; 28using System;
29using Nini.Config; 29using Nini.Config;
30using log4net.Config; 30using log4net.Config;
31using log4net;
32using System.Reflection;
31 33
32namespace OpenSim.Grid.AssetInventoryServer 34namespace OpenSim.Grid.AssetInventoryServer
33{ 35{
34 class MainEntry 36 class MainEntry
35 { 37 {
38 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
39
36 static void Main(string[] args) 40 static void Main(string[] args)
37 { 41 {
38 XmlConfigurator.Configure(); 42 XmlConfigurator.Configure();
@@ -46,7 +50,7 @@ namespace OpenSim.Grid.AssetInventoryServer
46 Console.CancelKeyPress += 50 Console.CancelKeyPress +=
47 delegate(object sender, ConsoleCancelEventArgs e) 51 delegate(object sender, ConsoleCancelEventArgs e)
48 { 52 {
49 Console.WriteLine("AssetInventory server is shutting down..."); 53 m_log.Info("AssetInventory server is shutting down...");
50 server.Shutdown(); 54 server.Shutdown();
51 Environment.Exit(0); 55 Environment.Exit(0);
52 }; 56 };