WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT.

cpu-performance
Diva Canto 2013-07-04 13:13:52 -07:00
parent 38a04ff993
commit c95a23863a
1 changed files with 4 additions and 0 deletions

View File

@ -1061,6 +1061,7 @@ namespace OpenSim.Framework
int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); int tickdiff = Util.EnvironmentTickCountSubtract(tickstart);
if (tickdiff > WebUtil.LongCallTime) if (tickdiff > WebUtil.LongCallTime)
{
m_log.InfoFormat( m_log.InfoFormat(
"[FORMS]: Slow request {0} {1} {2} took {3}ms, {4}ms writing, {5}", "[FORMS]: Slow request {0} {1} {2} took {3}ms, {4}ms writing, {5}",
reqnum, reqnum,
@ -1069,6 +1070,9 @@ namespace OpenSim.Framework
tickdiff, tickdiff,
tickdata, tickdata,
obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj); obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj);
Util.PrintCallStack();
}
else if (WebUtil.DebugLevel >= 4) else if (WebUtil.DebugLevel >= 4)
m_log.DebugFormat( m_log.DebugFormat(
"[WEB UTIL]: HTTP OUT {0} took {1}ms, {2}ms writing", "[WEB UTIL]: HTTP OUT {0} took {1}ms, {2}ms writing",