From 2a9c9ae340e6ccf76412a03bd44af470558e2d93 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Tue, 29 Nov 2011 21:53:15 +0000 Subject: [PATCH] Provide more user feedback when "debug http" is set --- OpenSim/Region/Application/OpenSim.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d97583cc87..4b38a2e2f7 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -894,6 +894,8 @@ namespace OpenSim if (int.TryParse(args[2], out newDebug)) { m_sceneManager.SetDebugPacketLevelOnCurrentScene(newDebug, name); + // We provide user information elsewhere if any clients had their debug level set. +// MainConsole.Instance.OutputFormat("Debug packet level set to {0}", newDebug); } else { @@ -910,6 +912,7 @@ namespace OpenSim if (int.TryParse(args[2], out newDebug)) { MainServer.Instance.DebugLevel = newDebug; + MainConsole.Instance.OutputFormat("Debug http level set to {0}", newDebug); break; } } @@ -945,7 +948,7 @@ namespace OpenSim break; default: - MainConsole.Instance.Output("Unknown debug"); + MainConsole.Instance.Output("Unknown debug command"); break; } }