aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.AssetServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenGridServices.AssetServer/Main.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenGridServices.AssetServer/Main.cs b/OpenGridServices.AssetServer/Main.cs
index 21a4fce..c2607c1 100644
--- a/OpenGridServices.AssetServer/Main.cs
+++ b/OpenGridServices.AssetServer/Main.cs
@@ -70,7 +70,7 @@ namespace OpenGridServices.AssetServer
70 70
71 private void Work() 71 private void Work()
72 { 72 {
73 m_console.WriteLine("\nEnter help for a list of commands\n"); 73 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"\nEnter help for a list of commands\n");
74 74
75 while (true) 75 while (true)
76 { 76 {
@@ -86,10 +86,10 @@ namespace OpenGridServices.AssetServer
86 86
87 public void Startup() 87 public void Startup()
88 { 88 {
89 m_console.WriteLine("Main.cs:Startup() - Setting up asset DB"); 89 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Setting up asset DB");
90 setupDB(); 90 setupDB();
91 91
92 m_console.WriteLine("Main.cs:Startup() - Starting HTTP process"); 92 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Starting HTTP process");
93 BaseHttpServer httpServer = new BaseHttpServer(8003); 93 BaseHttpServer httpServer = new BaseHttpServer(8003);
94 94
95 95
@@ -137,13 +137,13 @@ namespace OpenGridServices.AssetServer
137 try 137 try
138 { 138 {
139 db = Db4oFactory.OpenFile("assets.yap"); 139 db = Db4oFactory.OpenFile("assets.yap");
140 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Main.cs:setupDB() - creation"); 140 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:setupDB() - creation");
141 } 141 }
142 catch (Exception e) 142 catch (Exception e)
143 { 143 {
144 db.Close(); 144 db.Close();
145 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Main.cs:setupDB() - Exception occured"); 145 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"Main.cs:setupDB() - Exception occured");
146 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.ToString()); 146 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,e.ToString());
147 } 147 }
148 if (!yapfile) 148 if (!yapfile)
149 { 149 {
@@ -291,7 +291,7 @@ namespace OpenGridServices.AssetServer
291 switch (cmd) 291 switch (cmd)
292 { 292 {
293 case "help": 293 case "help":
294 m_console.WriteLine("shutdown - shutdown this asset server (USE CAUTION!)"); 294 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"shutdown - shutdown this asset server (USE CAUTION!)");
295 break; 295 break;
296 296
297 case "shutdown": 297 case "shutdown":