aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.AssetServer
diff options
context:
space:
mode:
authorAdam Frisby2007-05-12 15:44:10 +0000
committerAdam Frisby2007-05-12 15:44:10 +0000
commitec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d (patch)
tree569da9ef2e6e528ea799d8c7e1eac637cdffa889 /OpenGridServices.AssetServer
parent93 warnings in the compiler, 93 warnings appear, you fix one up, create two m... (diff)
downloadopensim-SC-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.zip
opensim-SC-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.gz
opensim-SC-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.bz2
opensim-SC-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.xz
EXTERM-INATED. (Add warnings produced by WriteLine change have been updated to include Log Priority)
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":