aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Monitoring/JobEngine.cs13
1 files changed, 6 insertions, 7 deletions
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
91 "Debug", 91 "Debug",
92 false, 92 false,
93 "debug jobengine", 93 "debug jobengine",
94 "debug jobengine <start|stop|status>", 94 "debug jobengine <start|stop|status|log>",
95 "Start, stop or get status of the job engine.", 95 "Start, stop, get status or set logging level of the job engine.",
96 "If stopped then all jobs are processed immediately.", 96 "If stopped then all outstanding jobs are processed immediately.",
97 HandleControlCommand); 97 HandleControlCommand);
98 } 98 }
99 99
@@ -277,7 +277,7 @@ namespace OpenSim.Framework.Monitoring
277 277
278 if (args.Length < 3) 278 if (args.Length < 3)
279 { 279 {
280 MainConsole.Instance.Output("Usage: debug jobengine <stop|start|status|loglevel>"); 280 MainConsole.Instance.Output("Usage: debug jobengine <stop|start|status|log>");
281 return; 281 return;
282 } 282 }
283 283
@@ -301,15 +301,14 @@ namespace OpenSim.Framework.Monitoring
301 "Jobs waiting: {0}", IsRunning ? m_requestQueue.Count.ToString() : "n/a"); 301 "Jobs waiting: {0}", IsRunning ? m_requestQueue.Count.ToString() : "n/a");
302 MainConsole.Instance.OutputFormat("Log Level: {0}", LogLevel); 302 MainConsole.Instance.OutputFormat("Log Level: {0}", LogLevel);
303 } 303 }
304 304 else if (subCommand == "log")
305 else if (subCommand == "loglevel")
306 { 305 {
307// int logLevel; 306// int logLevel;
308 int logLevel = int.Parse(args[3]); 307 int logLevel = int.Parse(args[3]);
309// if (ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, args[4], out logLevel)) 308// if (ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, args[4], out logLevel))
310// { 309// {
311 LogLevel = logLevel; 310 LogLevel = logLevel;
312 MainConsole.Instance.OutputFormat("Set log level to {0}", LogLevel); 311 MainConsole.Instance.OutputFormat("Set debug log level to {0}", LogLevel);
313// } 312// }
314 } 313 }
315 else 314 else