diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 64d61f1..1d9e2ce 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim.Framework | |||
64 | /// <summary> | 64 | /// <summary> |
65 | /// Request number for diagnostic purposes. | 65 | /// Request number for diagnostic purposes. |
66 | /// </summary> | 66 | /// </summary> |
67 | public static int RequestNumber = 0; | 67 | public static int RequestNumber { get; internal set; } |
68 | 68 | ||
69 | /// <summary> | 69 | /// <summary> |
70 | /// this is the header field used to communicate the local request id | 70 | /// this is the header field used to communicate the local request id |
@@ -241,7 +241,7 @@ namespace OpenSim.Framework | |||
241 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); | 241 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); |
242 | if (tickdiff > LongCallTime) | 242 | if (tickdiff > LongCallTime) |
243 | m_log.InfoFormat( | 243 | m_log.InfoFormat( |
244 | "[OSD REQUEST]: Slow request to <{0}> {1} {2} took {3}ms, {4}ms writing, {5}", | 244 | "[WEB UTIL]: Slow ServiceOSD request {0} {1} {2} took {3}ms, {4}ms writing, {5}", |
245 | reqnum, | 245 | reqnum, |
246 | method, | 246 | method, |
247 | url, | 247 | url, |
@@ -257,7 +257,7 @@ namespace OpenSim.Framework | |||
257 | } | 257 | } |
258 | 258 | ||
259 | m_log.DebugFormat( | 259 | m_log.DebugFormat( |
260 | "[WEB UTIL]: <{0}> osd request for {1}, method {2} FAILED: {3}", reqnum, url, method, errorMessage); | 260 | "[WEB UTIL]: ServiceOSD request {0} {1} {2} FAILED: {3}", reqnum, url, method, errorMessage); |
261 | 261 | ||
262 | return ErrorResponseMap(errorMessage); | 262 | return ErrorResponseMap(errorMessage); |
263 | } | 263 | } |
@@ -400,7 +400,7 @@ namespace OpenSim.Framework | |||
400 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); | 400 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); |
401 | if (tickdiff > LongCallTime) | 401 | if (tickdiff > LongCallTime) |
402 | m_log.InfoFormat( | 402 | m_log.InfoFormat( |
403 | "[SERVICE FORM]: Slow request to <{0}> {1} {2} took {3}ms, {4}ms writing, {5}", | 403 | "[WEB UTIL]: Slow ServiceForm request {0} {1} {2} took {3}ms, {4}ms writing, {5}", |
404 | reqnum, | 404 | reqnum, |
405 | method, | 405 | method, |
406 | url, | 406 | url, |
@@ -415,7 +415,7 @@ namespace OpenSim.Framework | |||
415 | reqnum, tickdiff, tickdata); | 415 | reqnum, tickdiff, tickdata); |
416 | } | 416 | } |
417 | 417 | ||
418 | m_log.WarnFormat("[SERVICE FORM]: <{0}> form request to {1} failed: {2}", reqnum, url, errorMessage); | 418 | m_log.WarnFormat("[WEB UTIL]: ServiceForm request {0} {1} {2} failed: {2}", reqnum, method, url, errorMessage); |
419 | 419 | ||
420 | return ErrorResponseMap(errorMessage); | 420 | return ErrorResponseMap(errorMessage); |
421 | } | 421 | } |
@@ -879,7 +879,7 @@ namespace OpenSim.Framework | |||
879 | } | 879 | } |
880 | 880 | ||
881 | m_log.InfoFormat( | 881 | m_log.InfoFormat( |
882 | "[ASYNC REQUEST]: Slow request to <{0}> {1} {2} took {3}ms, {4}ms writing, {5}", | 882 | "[ASYNC REQUEST]: Slow request {0} {1} {2} took {3}ms, {4}ms writing, {5}", |
883 | reqnum, | 883 | reqnum, |
884 | verb, | 884 | verb, |
885 | requestUrl, | 885 | requestUrl, |
@@ -1002,7 +1002,7 @@ namespace OpenSim.Framework | |||
1002 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); | 1002 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); |
1003 | if (tickdiff > WebUtil.LongCallTime) | 1003 | if (tickdiff > WebUtil.LongCallTime) |
1004 | m_log.InfoFormat( | 1004 | m_log.InfoFormat( |
1005 | "[FORMS]: Slow request to <{0}> {1} {2} took {3}ms, {4}ms writing, {5}", | 1005 | "[FORMS]: Slow request {0} {1} {2} took {3}ms, {4}ms writing, {5}", |
1006 | reqnum, | 1006 | reqnum, |
1007 | verb, | 1007 | verb, |
1008 | requestUrl, | 1008 | requestUrl, |
@@ -1154,7 +1154,7 @@ namespace OpenSim.Framework | |||
1154 | } | 1154 | } |
1155 | 1155 | ||
1156 | m_log.InfoFormat( | 1156 | m_log.InfoFormat( |
1157 | "[SynchronousRestObjectRequester]: Slow request to <{0}> {1} {2} took {3}ms, {4}ms writing, {5}", | 1157 | "[SynchronousRestObjectRequester]: Slow request {0} {1} {2} took {3}ms, {4}ms writing, {5}", |
1158 | reqnum, | 1158 | reqnum, |
1159 | verb, | 1159 | verb, |
1160 | requestUrl, | 1160 | requestUrl, |