aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-03 17:03:58 +0300
committerOren Hurvitz2014-04-03 15:04:26 +0100
commit672bd9fc98711db81696ed31e88c53f7ba10ce66 (patch)
tree2369d51ec0e9e671f0571562baac34e5be646552 /OpenSim
parentBetter error messages in RestClient (diff)
downloadopensim-SC_OLD-672bd9fc98711db81696ed31e88c53f7ba10ce66.zip
opensim-SC_OLD-672bd9fc98711db81696ed31e88c53f7ba10ce66.tar.gz
opensim-SC_OLD-672bd9fc98711db81696ed31e88c53f7ba10ce66.tar.bz2
opensim-SC_OLD-672bd9fc98711db81696ed31e88c53f7ba10ce66.tar.xz
Reduced log levels for REST 404 errors to DEBUG
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 2275e31..e7f0ca8 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -318,7 +318,8 @@ namespace OpenSim.Framework.Communications
318 HttpWebResponse errorResponse = e.Response as HttpWebResponse; 318 HttpWebResponse errorResponse = e.Response as HttpWebResponse;
319 if (null != errorResponse && HttpStatusCode.NotFound == errorResponse.StatusCode) 319 if (null != errorResponse && HttpStatusCode.NotFound == errorResponse.StatusCode)
320 { 320 {
321 m_log.WarnFormat("[REST CLIENT] Resource not found (404): {0}", _request.Address.ToString()); 321 // This is often benign. E.g., requesting a missing asset will return 404.
322 m_log.DebugFormat("[REST CLIENT] Resource not found (404): {0}", _request.Address.ToString());
322 } 323 }
323 else 324 else
324 { 325 {