diff options
author | Oren Hurvitz | 2014-04-29 09:58:03 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-29 07:59:17 +0100 |
commit | 88f7a833dc1176afa802060317ea78ecf6818800 (patch) | |
tree | 60453f1dd84aad3d3fd3001e1597f8f881af915b /OpenSim/Framework/WebUtil.cs | |
parent | Fixed the UpdateAgentInformation CAP: the viewer expects the simulator to ech... (diff) | |
download | opensim-SC_OLD-88f7a833dc1176afa802060317ea78ecf6818800.zip opensim-SC_OLD-88f7a833dc1176afa802060317ea78ecf6818800.tar.gz opensim-SC_OLD-88f7a833dc1176afa802060317ea78ecf6818800.tar.bz2 opensim-SC_OLD-88f7a833dc1176afa802060317ea78ecf6818800.tar.xz |
Improved HTTP logging
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index d7f6bc8..70fab77 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -214,10 +214,9 @@ namespace OpenSim.Framework | |||
214 | LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), inputStream); | 214 | LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), inputStream); |
215 | } | 215 | } |
216 | 216 | ||
217 | public static void LogResponseDetail(int? reqnum, string input) | 217 | public static void LogResponseDetail(int reqnum, string input) |
218 | { | 218 | { |
219 | string context = (reqnum == null) ? "" : string.Format("RESPONSE {0}: ", reqnum.Value); | 219 | LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), input); |
220 | LogOutgoingDetail(context, input); | ||
221 | } | 220 | } |
222 | 221 | ||
223 | private static OSDMap ServiceOSDRequestWorker(string url, OSDMap data, string method, int timeout, bool compressed, bool rpc) | 222 | private static OSDMap ServiceOSDRequestWorker(string url, OSDMap data, string method, int timeout, bool compressed, bool rpc) |