diff options
author | Justin Clark-Casey (justincc) | 2014-07-09 23:12:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-09 23:12:14 +0100 |
commit | a8860d79d8b0e2007b16cd2b1a316b51a80c13da (patch) | |
tree | 81e2366d0ce26f1df118292f9c8ec79b1b46af35 /OpenSim/Framework | |
parent | Fix issue with running "stats record start|stop" console command (diff) | |
download | opensim-SC_OLD-a8860d79d8b0e2007b16cd2b1a316b51a80c13da.zip opensim-SC_OLD-a8860d79d8b0e2007b16cd2b1a316b51a80c13da.tar.gz opensim-SC_OLD-a8860d79d8b0e2007b16cd2b1a316b51a80c13da.tar.bz2 opensim-SC_OLD-a8860d79d8b0e2007b16cd2b1a316b51a80c13da.tar.xz |
Turn RestClient.Request() logging down the debug and comment out for now.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/RestClient.cs | 10 |
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); |