aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGridServices.AssetServer
diff options
context:
space:
mode:
Diffstat (limited to 'OpenGridServices/OpenGridServices.AssetServer')
-rw-r--r--OpenGridServices/OpenGridServices.AssetServer/Main.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenGridServices/OpenGridServices.AssetServer/Main.cs b/OpenGridServices/OpenGridServices.AssetServer/Main.cs
index 8cdd2c6..057004d 100644
--- a/OpenGridServices/OpenGridServices.AssetServer/Main.cs
+++ b/OpenGridServices/OpenGridServices.AssetServer/Main.cs
@@ -55,7 +55,7 @@ namespace OpenGridServices.AssetServer
55 55
56 public static OpenAsset_Main assetserver; 56 public static OpenAsset_Main assetserver;
57 57
58 private ConsoleBase m_console; 58 private LogBase m_console;
59 59
60 [STAThread] 60 [STAThread]
61 public static void Main(string[] args) 61 public static void Main(string[] args)
@@ -74,14 +74,14 @@ namespace OpenGridServices.AssetServer
74 74
75 while (true) 75 while (true)
76 { 76 {
77 m_console.MainConsolePrompt(); 77 m_console.MainLogPrompt();
78 } 78 }
79 } 79 }
80 80
81 private OpenAsset_Main() 81 private OpenAsset_Main()
82 { 82 {
83 m_console = new ConsoleBase("opengrid-AssetServer-console.log", "OpenAsset", this, false); 83 m_console = new LogBase("opengrid-AssetServer-console.log", "OpenAsset", this, false);
84 MainConsole.Instance = m_console; 84 MainLog.Instance = m_console;
85 } 85 }
86 86
87 public void Startup() 87 public void Startup()
@@ -165,13 +165,13 @@ namespace OpenGridServices.AssetServer
165 try 165 try
166 { 166 {
167 db = Db4oFactory.OpenFile("assets.yap"); 167 db = Db4oFactory.OpenFile("assets.yap");
168 OpenSim.Framework.Console.MainConsole.Instance.Verbose( "Main.cs:setupDB() - creation"); 168 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Main.cs:setupDB() - creation");
169 } 169 }
170 catch (Exception e) 170 catch (Exception e)
171 { 171 {
172 db.Close(); 172 db.Close();
173 OpenSim.Framework.Console.MainConsole.Instance.Warn("Main.cs:setupDB() - Exception occured"); 173 OpenSim.Framework.Console.MainLog.Instance.Warn("Main.cs:setupDB() - Exception occured");
174 OpenSim.Framework.Console.MainConsole.Instance.Warn(e.ToString()); 174 OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
175 } 175 }
176 if (!yapfile) 176 if (!yapfile)
177 { 177 {