diff options
Diffstat (limited to 'OpenSim/Framework/Monitoring/WorkManager.cs')
-rwxr-xr-x[-rw-r--r--] | OpenSim/Framework/Monitoring/WorkManager.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Framework/Monitoring/WorkManager.cs b/OpenSim/Framework/Monitoring/WorkManager.cs index c6d97e1..f6e0799 100644..100755 --- a/OpenSim/Framework/Monitoring/WorkManager.cs +++ b/OpenSim/Framework/Monitoring/WorkManager.cs | |||
@@ -215,23 +215,23 @@ namespace OpenSim.Framework.Monitoring | |||
215 | if (subCommand == "stop") | 215 | if (subCommand == "stop") |
216 | { | 216 | { |
217 | JobEngine.Stop(); | 217 | JobEngine.Stop(); |
218 | MainConsole.Instance.OutputFormat("Stopped job engine."); | 218 | MainConsole.Instance.Output("Stopped job engine."); |
219 | } | 219 | } |
220 | else if (subCommand == "start") | 220 | else if (subCommand == "start") |
221 | { | 221 | { |
222 | JobEngine.Start(); | 222 | JobEngine.Start(); |
223 | MainConsole.Instance.OutputFormat("Started job engine."); | 223 | MainConsole.Instance.Output("Started job engine."); |
224 | } | 224 | } |
225 | else if (subCommand == "status") | 225 | else if (subCommand == "status") |
226 | { | 226 | { |
227 | MainConsole.Instance.OutputFormat("Job engine running: {0}", JobEngine.IsRunning); | 227 | MainConsole.Instance.Output("Job engine running: {0}", null, JobEngine.IsRunning); |
228 | 228 | ||
229 | JobEngine.Job job = JobEngine.CurrentJob; | 229 | JobEngine.Job job = JobEngine.CurrentJob; |
230 | MainConsole.Instance.OutputFormat("Current job {0}", job != null ? job.Name : "none"); | 230 | MainConsole.Instance.Output("Current job {0}", null, job != null ? job.Name : "none"); |
231 | 231 | ||
232 | MainConsole.Instance.OutputFormat( | 232 | MainConsole.Instance.Output( |
233 | "Jobs waiting: {0}", JobEngine.IsRunning ? JobEngine.JobsWaiting.ToString() : "n/a"); | 233 | "Jobs waiting: {0}", null, JobEngine.IsRunning ? JobEngine.JobsWaiting.ToString() : "n/a"); |
234 | MainConsole.Instance.OutputFormat("Log Level: {0}", JobEngine.LogLevel); | 234 | MainConsole.Instance.Output("Log Level: {0}", null, JobEngine.LogLevel); |
235 | } | 235 | } |
236 | else if (subCommand == "log") | 236 | else if (subCommand == "log") |
237 | { | 237 | { |
@@ -246,12 +246,12 @@ namespace OpenSim.Framework.Monitoring | |||
246 | // if (ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, args[4], out logLevel)) | 246 | // if (ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, args[4], out logLevel)) |
247 | // { | 247 | // { |
248 | JobEngine.LogLevel = logLevel; | 248 | JobEngine.LogLevel = logLevel; |
249 | MainConsole.Instance.OutputFormat("Set debug log level to {0}", JobEngine.LogLevel); | 249 | MainConsole.Instance.Output("Set debug log level to {0}", null, JobEngine.LogLevel); |
250 | // } | 250 | // } |
251 | } | 251 | } |
252 | else | 252 | else |
253 | { | 253 | { |
254 | MainConsole.Instance.OutputFormat("Unrecognized job engine subcommand {0}", subCommand); | 254 | MainConsole.Instance.Output("Unrecognized job engine subcommand {0}", null, subCommand); |
255 | } | 255 | } |
256 | } | 256 | } |
257 | } | 257 | } |