aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/GridAssetClient.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/GridAssetClient.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
index 48d9ec8..8114eb0 100644
--- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
+++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
@@ -52,7 +52,7 @@ namespace OpenSim.Framework.Communications.Cache
52 Stream s = null; 52 Stream s = null;
53 try 53 try
54 { 54 {
55 m_log.Debug(String.Format("[ASSETCACHE]: Querying for {0}", req.AssetID.ToString())); 55 m_log.DebugFormat("[ASSETCACHE]: Querying for {0}", req.AssetID.ToString());
56 56
57 RestClient rc = new RestClient(_assetServerUrl); 57 RestClient rc = new RestClient(_assetServerUrl);
58 rc.AddResourcePath("assets"); 58 rc.AddResourcePath("assets");
@@ -73,7 +73,7 @@ namespace OpenSim.Framework.Communications.Cache
73 catch (Exception e) 73 catch (Exception e)
74 { 74 {
75 m_log.Error("[ASSETCACHE]: " + e.Message); 75 m_log.Error("[ASSETCACHE]: " + e.Message);
76 m_log.Debug(String.Format("[ASSETCACHE]: Getting asset {0}", req.AssetID.ToString())); 76 m_log.DebugFormat("[ASSETCACHE]: Getting asset {0}", req.AssetID.ToString());
77 m_log.Error("[ASSETCACHE]: " + e.StackTrace); 77 m_log.Error("[ASSETCACHE]: " + e.StackTrace);
78 } 78 }
79 79
@@ -100,7 +100,7 @@ namespace OpenSim.Framework.Communications.Cache
100 100
101 // rc.RequestMethod = "POST"; 101 // rc.RequestMethod = "POST";
102 // rc.Request(s); 102 // rc.Request(s);
103 //m_log.Info(String.Format("[ASSET]: Stored {0}", rc)); 103 //m_log.InfoFormat("[ASSET]: Stored {0}", rc);
104 m_log.Info("[ASSET]: Sending to " + _assetServerUrl + "/assets/"); 104 m_log.Info("[ASSET]: Sending to " + _assetServerUrl + "/assets/");
105 RestObjectPoster.BeginPostObject<AssetBase>(_assetServerUrl + "/assets/", asset); 105 RestObjectPoster.BeginPostObject<AssetBase>(_assetServerUrl + "/assets/", asset);
106 106