aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-09-12 23:01:07 +0100
committerJustin Clark-Casey (justincc)2012-09-12 23:01:07 +0100
commit7df7b86ec5e6186fc86dd075792f56001cac66f2 (patch)
tree0b3e0f49fccafaa39e5452e52802e322e1ddf28e /OpenSim/Framework/Servers/HttpServer
parentminor: Comment out friends notification log spam for now. (diff)
downloadopensim-SC-7df7b86ec5e6186fc86dd075792f56001cac66f2.zip
opensim-SC-7df7b86ec5e6186fc86dd075792f56001cac66f2.tar.gz
opensim-SC-7df7b86ec5e6186fc86dd075792f56001cac66f2.tar.bz2
opensim-SC-7df7b86ec5e6186fc86dd075792f56001cac66f2.tar.xz
Fix bug in logging sample input at debug http level 4.
Also converts newlines to "\n" text.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index c81e283..43a19fa 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -687,7 +687,7 @@ namespace OpenSim.Framework.Servers.HttpServer
687 const int sampleLength = 80; 687 const int sampleLength = 80;
688 char[] sampleChars = new char[sampleLength]; 688 char[] sampleChars = new char[sampleLength];
689 reader.Read(sampleChars, 0, sampleLength); 689 reader.Read(sampleChars, 0, sampleLength);
690 output = string.Format("[BASE HTTP SERVER]: {0}...", sampleChars); 690 output = string.Format("[BASE HTTP SERVER]: {0}...", new string(sampleChars).Replace("\n", @"\n"));
691 } 691 }
692 else 692 else
693 { 693 {