Fix bug in logging sample input at debug http level 4.
Also converts newlines to "\n" text.0.7.4-extended
parent
44cd864205
commit
3a60c9c8c8
|
@ -687,7 +687,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
const int sampleLength = 80;
|
||||
char[] sampleChars = new char[sampleLength];
|
||||
reader.Read(sampleChars, 0, sampleLength);
|
||||
output = string.Format("[BASE HTTP SERVER]: {0}...", sampleChars);
|
||||
output = string.Format("[BASE HTTP SERVER]: {0}...", new string(sampleChars).Replace("\n", @"\n"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue