mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Improved HTTP logging
This commit is contained in:
@@ -705,7 +705,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
}
|
||||
}
|
||||
|
||||
WebUtil.LogResponseDetail(null, output);
|
||||
WebUtil.LogResponseDetail(RequestNumber, output);
|
||||
}
|
||||
|
||||
if (!response.SendChunked && response.ContentLength64 <= 0)
|
||||
|
||||
@@ -214,10 +214,9 @@ namespace OpenSim.Framework
|
||||
LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), inputStream);
|
||||
}
|
||||
|
||||
public static void LogResponseDetail(int? reqnum, string input)
|
||||
public static void LogResponseDetail(int reqnum, string input)
|
||||
{
|
||||
string context = (reqnum == null) ? "" : string.Format("RESPONSE {0}: ", reqnum.Value);
|
||||
LogOutgoingDetail(context, input);
|
||||
LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), input);
|
||||
}
|
||||
|
||||
private static OSDMap ServiceOSDRequestWorker(string url, OSDMap data, string method, int timeout, bool compressed, bool rpc)
|
||||
|
||||
Reference in New Issue
Block a user