aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Monitoring/StatsLogger.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsLogger.cs b/OpenSim/Framework/Monitoring/StatsLogger.cs
index f23107c..15a37aa 100644
--- a/OpenSim/Framework/Monitoring/StatsLogger.cs
+++ b/OpenSim/Framework/Monitoring/StatsLogger.cs
@@ -70,18 +70,18 @@ namespace OpenSim.Framework.Monitoring
70 { 70 {
71 ICommandConsole con = MainConsole.Instance; 71 ICommandConsole con = MainConsole.Instance;
72 72
73 if (cmd.Length != 4) 73 if (cmd.Length != 3)
74 { 74 {
75 con.Output("Usage: debug stats record start|stop"); 75 con.Output("Usage: stats record start|stop");
76 return; 76 return;
77 } 77 }
78 78
79 if (cmd[3] == "start") 79 if (cmd[2] == "start")
80 { 80 {
81 Start(); 81 Start();
82 con.OutputFormat("Now recording all stats to file every {0}ms", m_statsLogIntervalMs); 82 con.OutputFormat("Now recording all stats to file every {0}ms", m_statsLogIntervalMs);
83 } 83 }
84 else if (cmd[3] == "stop") 84 else if (cmd[2] == "stop")
85 { 85 {
86 Stop(); 86 Stop();
87 con.Output("Stopped recording stats to file."); 87 con.Output("Stopped recording stats to file.");