Put all debug console commands into a single Debug section rather than scattering them over other categories
parent
94517c8d5c
commit
c935f03467
|
@ -105,7 +105,7 @@ namespace OpenSim.Framework.Servers
|
||||||
public static void RegisterHttpConsoleCommands(ICommandConsole console)
|
public static void RegisterHttpConsoleCommands(ICommandConsole console)
|
||||||
{
|
{
|
||||||
console.Commands.AddCommand(
|
console.Commands.AddCommand(
|
||||||
"Comms", false, "debug http", "debug http [<level>]",
|
"Debug", false, "debug http", "debug http [<level>]",
|
||||||
"Turn on inbound non-poll http request debugging.",
|
"Turn on inbound non-poll http request debugging.",
|
||||||
"If level <= 0, then no extra logging is done.\n"
|
"If level <= 0, then no extra logging is done.\n"
|
||||||
+ "If level >= 1, then short warnings are logged when receiving bad input data.\n"
|
+ "If level >= 1, then short warnings are logged when receiving bad input data.\n"
|
||||||
|
|
|
@ -238,7 +238,7 @@ namespace OpenSim
|
||||||
"Force the update of all objects on clients",
|
"Force the update of all objects on clients",
|
||||||
HandleForceUpdate);
|
HandleForceUpdate);
|
||||||
|
|
||||||
m_console.Commands.AddCommand("Comms", false, "debug packet",
|
m_console.Commands.AddCommand("Debug", false, "debug packet",
|
||||||
"debug packet <level> [<avatar-first-name> <avatar-last-name>]",
|
"debug packet <level> [<avatar-first-name> <avatar-last-name>]",
|
||||||
"Turn on packet debugging",
|
"Turn on packet debugging",
|
||||||
"If level > 255 then all incoming and outgoing packets are logged.\n"
|
"If level > 255 then all incoming and outgoing packets are logged.\n"
|
||||||
|
@ -250,9 +250,9 @@ namespace OpenSim
|
||||||
+ "If an avatar name is given then only packets from that avatar are logged",
|
+ "If an avatar name is given then only packets from that avatar are logged",
|
||||||
Debug);
|
Debug);
|
||||||
|
|
||||||
m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
|
m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
|
||||||
|
|
||||||
m_console.Commands.AddCommand("Regions", false, "debug scene",
|
m_console.Commands.AddCommand("Debug", false, "debug scene",
|
||||||
"debug scene <scripting> <collisions> <physics>",
|
"debug scene <scripting> <collisions> <physics>",
|
||||||
"Turn on scene debugging", Debug);
|
"Turn on scene debugging", Debug);
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
scene.EventManager.OnRegisterCaps += OnRegisterCaps;
|
scene.EventManager.OnRegisterCaps += OnRegisterCaps;
|
||||||
|
|
||||||
MainConsole.Instance.Commands.AddCommand(
|
MainConsole.Instance.Commands.AddCommand(
|
||||||
"Comms",
|
"Debug",
|
||||||
false,
|
false,
|
||||||
"debug eq",
|
"debug eq",
|
||||||
"debug eq [0|1|2]",
|
"debug eq [0|1|2]",
|
||||||
|
|
|
@ -221,7 +221,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
"Force permissions on or off",
|
"Force permissions on or off",
|
||||||
HandleForcePermissions);
|
HandleForcePermissions);
|
||||||
|
|
||||||
m_scene.AddCommand("Users", this, "debug permissions",
|
m_scene.AddCommand("Debug", this, "debug permissions",
|
||||||
"debug permissions <true / false>",
|
"debug permissions <true / false>",
|
||||||
"Turn on permissions debugging",
|
"Turn on permissions debugging",
|
||||||
HandleDebugPermissions);
|
HandleDebugPermissions);
|
||||||
|
|
Loading…
Reference in New Issue