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