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/Remote/RemoteAssetServer.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/Remote/RemoteAssetServer.cs')
-rw-r--r-- | OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs index be00fa7..ca01c68 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
53 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); | 53 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); |
54 | this._remoteAssetServerThread.IsBackground = true; | 54 | this._remoteAssetServerThread.IsBackground = true; |
55 | this._remoteAssetServerThread.Start(); | 55 | this._remoteAssetServerThread.Start(); |
56 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Remote Asset Server class created"); | 56 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Remote Asset Server class created"); |
57 | } | 57 | } |
58 | 58 | ||
59 | public void SetReceiver(IAssetReceiver receiver) | 59 | public void SetReceiver(IAssetReceiver receiver) |
@@ -98,7 +98,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
98 | // 404... THE MAGIC FILE NOT FOUND ERROR, very useful for telling you things such as a file (or asset ;) ) not being found!!!!!!!!!!! it's 2:22AM | 98 | // 404... THE MAGIC FILE NOT FOUND ERROR, very useful for telling you things such as a file (or asset ;) ) not being found!!!!!!!!!!! it's 2:22AM |
99 | ARequest req = this._assetRequests.Dequeue(); | 99 | ARequest req = this._assetRequests.Dequeue(); |
100 | LLUUID assetID = req.AssetID; | 100 | LLUUID assetID = req.AssetID; |
101 | // OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW," RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); | 101 | // OpenSim.Framework.Console.MainLog.Instance.Verbose(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); |
102 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); | 102 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); |
103 | WebResponse AssetResponse = AssetLoad.GetResponse(); | 103 | WebResponse AssetResponse = AssetLoad.GetResponse(); |
104 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; | 104 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; |