From a8860d79d8b0e2007b16cd2b1a316b51a80c13da Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 9 Jul 2014 23:12:14 +0100 Subject: [PATCH] Turn RestClient.Request() logging down the debug and comment out for now. --- OpenSim/Framework/Communications/RestClient.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs index 586400f2e9..e55618122f 100644 --- a/OpenSim/Framework/Communications/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient.cs @@ -382,16 +382,16 @@ namespace OpenSim.Framework.Communications if (auth != null) auth.AddAuthorization(_request.Headers); - m_log.InfoFormat("[REST]: Request Length {0}", _request.ContentLength); - m_log.InfoFormat("[REST]: Sending Web Request {0}", buildUri()); +// m_log.DebugFormat("[REST]: Request Length {0}", _request.ContentLength); +// m_log.DebugFormat("[REST]: Sending Web Request {0}", buildUri()); src.Seek(0, SeekOrigin.Begin); - m_log.Info("[REST]: Seek is ok"); +// m_log.Debug("[REST]: Seek is ok"); Stream dst = _request.GetRequestStream(); - m_log.Info("[REST]: GetRequestStream is ok"); +// m_log.Debug("[REST]: GetRequestStream is ok"); byte[] buf = new byte[1024]; int length = src.Read(buf, 0, 1024); - m_log.Info("[REST]: First Read is ok"); +// m_log.Debug("[REST]: First Read is ok"); while (length > 0) { dst.Write(buf, 0, length);