From a142edec032fe5bc1c225be138a2b31c8f9c0f7e Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 6 Oct 2014 23:39:52 +0100 Subject: 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(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index c0534af..ea3db0b 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; -- cgit v1.1