diff options
author | Adam Frisby | 2007-06-20 15:50:06 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-20 15:50:06 +0000 |
commit | 29053589bff370916f4067dade70969499f77ce3 (patch) | |
tree | 582e2c839ce2e681dc98087bb12c71241641ffc6 /OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs | |
parent | * Removed ClientThreads from avatar (diff) | |
download | opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.zip opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.gz opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.bz2 opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.xz |
* Replaced old logging mechanism with new shiny logging mechanism
* Console, I bid thee farewall. Use "Log" now where console used to exist.
Diffstat (limited to 'OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs')
-rw-r--r-- | OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs b/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs index 70b14c2..87eff49 100644 --- a/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs +++ b/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs | |||
@@ -66,17 +66,17 @@ namespace OpenSim.GridInterfaces.Local | |||
66 | this._assetRequests = new BlockingQueue<ARequest>(); | 66 | this._assetRequests = new BlockingQueue<ARequest>(); |
67 | yapfile = System.IO.File.Exists("assets.yap"); | 67 | yapfile = System.IO.File.Exists("assets.yap"); |
68 | 68 | ||
69 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "Local Asset Server class created"); | 69 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Local Asset Server class created"); |
70 | try | 70 | try |
71 | { | 71 | { |
72 | db = Db4oFactory.OpenFile("assets.yap"); | 72 | db = Db4oFactory.OpenFile("assets.yap"); |
73 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "Db4 Asset database creation"); | 73 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Db4 Asset database creation"); |
74 | } | 74 | } |
75 | catch (Exception e) | 75 | catch (Exception e) |
76 | { | 76 | { |
77 | db.Close(); | 77 | db.Close(); |
78 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM, "Db4 Asset server :Constructor - Exception occured"); | 78 | OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.MEDIUM, "Db4 Asset server :Constructor - Exception occured"); |
79 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, e.ToString()); | 79 | OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString()); |
80 | } | 80 | } |
81 | if (!yapfile) | 81 | if (!yapfile) |
82 | { | 82 | { |
@@ -124,7 +124,7 @@ namespace OpenSim.GridInterfaces.Local | |||
124 | { | 124 | { |
125 | if (db != null) | 125 | if (db != null) |
126 | { | 126 | { |
127 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "Closing local asset server database"); | 127 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Closing local asset server database"); |
128 | db.Close(); | 128 | db.Close(); |
129 | } | 129 | } |
130 | } | 130 | } |
@@ -168,7 +168,7 @@ namespace OpenSim.GridInterfaces.Local | |||
168 | try | 168 | try |
169 | { | 169 | { |
170 | 170 | ||
171 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "Setting up asset database"); | 171 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Setting up asset database"); |
172 | 172 | ||
173 | AssetBase Image = new AssetBase(); | 173 | AssetBase Image = new AssetBase(); |
174 | Image.FullID = new LLUUID("00000000-0000-0000-9999-000000000001"); | 174 | Image.FullID = new LLUUID("00000000-0000-0000-9999-000000000001"); |