aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-15 03:32:43 +0100
committerJustin Clark-Casey (justincc)2012-06-15 03:32:43 +0100
commitc935f0346750d510e5c3c3c2ff62c84609a115e3 (patch)
tree6cfcd8e335fdb41e9bf1305a7be5ba4954f2db78
parentMake the "debug http" command available for robust as well as the simulator. ... (diff)
downloadopensim-SC-c935f0346750d510e5c3c3c2ff62c84609a115e3.zip
opensim-SC-c935f0346750d510e5c3c3c2ff62c84609a115e3.tar.gz
opensim-SC-c935f0346750d510e5c3c3c2ff62c84609a115e3.tar.bz2
opensim-SC-c935f0346750d510e5c3c3c2ff62c84609a115e3.tar.xz
Put all debug console commands into a single Debug section rather than scattering them over other categories
-rw-r--r--OpenSim/Framework/Servers/MainServer.cs2
-rw-r--r--OpenSim/Region/Application/OpenSim.cs6
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs2
4 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs
index 07ff60c..8dc0e3a 100644
--- a/OpenSim/Framework/Servers/MainServer.cs
+++ b/OpenSim/Framework/Servers/MainServer.cs
@@ -105,7 +105,7 @@ namespace OpenSim.Framework.Servers
105 public static void RegisterHttpConsoleCommands(ICommandConsole console) 105 public static void RegisterHttpConsoleCommands(ICommandConsole console)
106 { 106 {
107 console.Commands.AddCommand( 107 console.Commands.AddCommand(
108 "Comms", false, "debug http", "debug http [<level>]", 108 "Debug", false, "debug http", "debug http [<level>]",
109 "Turn on inbound non-poll http request debugging.", 109 "Turn on inbound non-poll http request debugging.",
110 "If level <= 0, then no extra logging is done.\n" 110 "If level <= 0, then no extra logging is done.\n"
111 + "If level >= 1, then short warnings are logged when receiving bad input data.\n" 111 + "If level >= 1, then short warnings are logged when receiving bad input data.\n"
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index faa9e09..04ff4e6 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -238,7 +238,7 @@ namespace OpenSim
238 "Force the update of all objects on clients", 238 "Force the update of all objects on clients",
239 HandleForceUpdate); 239 HandleForceUpdate);
240 240
241 m_console.Commands.AddCommand("Comms", false, "debug packet", 241 m_console.Commands.AddCommand("Debug", false, "debug packet",
242 "debug packet <level> [<avatar-first-name> <avatar-last-name>]", 242 "debug packet <level> [<avatar-first-name> <avatar-last-name>]",
243 "Turn on packet debugging", 243 "Turn on packet debugging",
244 "If level > 255 then all incoming and outgoing packets are logged.\n" 244 "If level > 255 then all incoming and outgoing packets are logged.\n"
@@ -250,9 +250,9 @@ namespace OpenSim
250 + "If an avatar name is given then only packets from that avatar are logged", 250 + "If an avatar name is given then only packets from that avatar are logged",
251 Debug); 251 Debug);
252 252
253 m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); 253 m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
254 254
255 m_console.Commands.AddCommand("Regions", false, "debug scene", 255 m_console.Commands.AddCommand("Debug", false, "debug scene",
256 "debug scene <scripting> <collisions> <physics>", 256 "debug scene <scripting> <collisions> <physics>",
257 "Turn on scene debugging", Debug); 257 "Turn on scene debugging", Debug);
258 258
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
index ae759ca..594b229 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
@@ -106,7 +106,7 @@ namespace OpenSim.Region.ClientStack.Linden
106 scene.EventManager.OnRegisterCaps += OnRegisterCaps; 106 scene.EventManager.OnRegisterCaps += OnRegisterCaps;
107 107
108 MainConsole.Instance.Commands.AddCommand( 108 MainConsole.Instance.Commands.AddCommand(
109 "Comms", 109 "Debug",
110 false, 110 false,
111 "debug eq", 111 "debug eq",
112 "debug eq [0|1|2]", 112 "debug eq [0|1|2]",
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index 555509c..4f72463 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -221,7 +221,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
221 "Force permissions on or off", 221 "Force permissions on or off",
222 HandleForcePermissions); 222 HandleForcePermissions);
223 223
224 m_scene.AddCommand("Users", this, "debug permissions", 224 m_scene.AddCommand("Debug", this, "debug permissions",
225 "debug permissions <true / false>", 225 "debug permissions <true / false>",
226 "Turn on permissions debugging", 226 "Turn on permissions debugging",
227 HandleDebugPermissions); 227 HandleDebugPermissions);