aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGridServices.AssetServer
diff options
context:
space:
mode:
authorAdam Frisby2007-06-20 15:52:45 +0000
committerAdam Frisby2007-06-20 15:52:45 +0000
commita9e9bc83ef5f0d36551eee420da6c71df48ad489 (patch)
treea163fdfd8ef882b190f54ff02c97a3a2949b096d /OpenGridServices/OpenGridServices.AssetServer
parent* Replaced old logging mechanism with new shiny logging mechanism (diff)
downloadopensim-SC-a9e9bc83ef5f0d36551eee420da6c71df48ad489.zip
opensim-SC-a9e9bc83ef5f0d36551eee420da6c71df48ad489.tar.gz
opensim-SC-a9e9bc83ef5f0d36551eee420da6c71df48ad489.tar.bz2
opensim-SC-a9e9bc83ef5f0d36551eee420da6c71df48ad489.tar.xz
* and done the same for OGS..
Diffstat (limited to '')
-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 {