From 4f04c0b56021b4c7e37d9f81f3323c657728683d Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Mon, 6 Oct 2014 23:39:52 +0100 Subject: [PATCH] minor: add apparant total to logging when client sets throttles --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index c0534af97b..ea3db0b43b 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs @@ -434,9 +434,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP //int total = resend + land + wind + cloud + task + texture + asset; if (ThrottleDebugLevel > 0) + { + long total = resend + land + wind + cloud + task + texture + asset; m_log.DebugFormat( - "[LLUDPCLIENT]: {0} is setting throttles in {1} to Resend={2}, Land={3}, Wind={4}, Cloud={5}, Task={6}, Texture={7}, Asset={8}", - AgentID, m_udpServer.Scene.Name, resend, land, wind, cloud, task, texture, asset); + "[LLUDPCLIENT]: {0} is setting throttles in {1} to Resend={2}, Land={3}, Wind={4}, Cloud={5}, Task={6}, Texture={7}, Asset={8}, TOTAL = {9}", + AgentID, m_udpServer.Scene.Name, resend, land, wind, cloud, task, texture, asset, total); + } // Update the token buckets with new throttle values TokenBucket bucket;