aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-07-09 23:12:14 +0100
committerJustin Clark-Casey2014-08-02 00:53:10 +0100
commitb243cde14f893f4842b0b5a7162d05d1fbaaebf7 (patch)
tree00e37250a561320098bc0616fd979524cbbd7595 /OpenSim/Framework/Communications
parentFix issue with running "stats record start|stop" console command (diff)
downloadopensim-SC_OLD-b243cde14f893f4842b0b5a7162d05d1fbaaebf7.zip
opensim-SC_OLD-b243cde14f893f4842b0b5a7162d05d1fbaaebf7.tar.gz
opensim-SC_OLD-b243cde14f893f4842b0b5a7162d05d1fbaaebf7.tar.bz2
opensim-SC_OLD-b243cde14f893f4842b0b5a7162d05d1fbaaebf7.tar.xz
Turn RestClient.Request() logging down the debug and comment out for now.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 586400f..e556181 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -382,16 +382,16 @@ namespace OpenSim.Framework.Communications
382 if (auth != null) 382 if (auth != null)
383 auth.AddAuthorization(_request.Headers); 383 auth.AddAuthorization(_request.Headers);
384 384
385 m_log.InfoFormat("[REST]: Request Length {0}", _request.ContentLength); 385// m_log.DebugFormat("[REST]: Request Length {0}", _request.ContentLength);
386 m_log.InfoFormat("[REST]: Sending Web Request {0}", buildUri()); 386// m_log.DebugFormat("[REST]: Sending Web Request {0}", buildUri());
387 src.Seek(0, SeekOrigin.Begin); 387 src.Seek(0, SeekOrigin.Begin);
388 m_log.Info("[REST]: Seek is ok"); 388// m_log.Debug("[REST]: Seek is ok");
389 Stream dst = _request.GetRequestStream(); 389 Stream dst = _request.GetRequestStream();
390 m_log.Info("[REST]: GetRequestStream is ok"); 390// m_log.Debug("[REST]: GetRequestStream is ok");
391 391
392 byte[] buf = new byte[1024]; 392 byte[] buf = new byte[1024];
393 int length = src.Read(buf, 0, 1024); 393 int length = src.Read(buf, 0, 1024);
394 m_log.Info("[REST]: First Read is ok"); 394// m_log.Debug("[REST]: First Read is ok");
395 while (length > 0) 395 while (length > 0)
396 { 396 {
397 dst.Write(buf, 0, length); 397 dst.Write(buf, 0, length);