aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 };