From c95a23863ab51810ccc01afd3dd641c18a183305 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 4 Jul 2013 13:13:52 -0700 Subject: WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT. --- OpenSim/Framework/WebUtil.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 6fb1e0c..ece3129 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs @@ -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", -- cgit v1.1