From 4b45a1b6adda6483ce25dfd8da8b4b94557779dc Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 21 Nov 2014 21:25:55 +0000 Subject: Change jobengine logging command to "debug jobengine log " rather than loglevel, in common with similar commands. --- OpenSim/Framework/Monitoring/JobEngine.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'OpenSim/Framework/Monitoring') diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs index 7dcce6a..4a46328 100644 --- a/OpenSim/Framework/Monitoring/JobEngine.cs +++ b/OpenSim/Framework/Monitoring/JobEngine.cs @@ -91,9 +91,9 @@ namespace OpenSim.Framework.Monitoring "Debug", false, "debug jobengine", - "debug jobengine ", - "Start, stop or get status of the job engine.", - "If stopped then all jobs are processed immediately.", + "debug jobengine ", + "Start, stop, get status or set logging level of the job engine.", + "If stopped then all outstanding jobs are processed immediately.", HandleControlCommand); } @@ -277,7 +277,7 @@ namespace OpenSim.Framework.Monitoring if (args.Length < 3) { - MainConsole.Instance.Output("Usage: debug jobengine "); + MainConsole.Instance.Output("Usage: debug jobengine "); return; } @@ -301,15 +301,14 @@ namespace OpenSim.Framework.Monitoring "Jobs waiting: {0}", IsRunning ? m_requestQueue.Count.ToString() : "n/a"); MainConsole.Instance.OutputFormat("Log Level: {0}", LogLevel); } - - else if (subCommand == "loglevel") + else if (subCommand == "log") { // int logLevel; int logLevel = int.Parse(args[3]); // if (ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, args[4], out logLevel)) // { LogLevel = logLevel; - MainConsole.Instance.OutputFormat("Set log level to {0}", LogLevel); + MainConsole.Instance.OutputFormat("Set debug log level to {0}", LogLevel); // } } else -- cgit v1.1