diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index f4812e6..f418d7b 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -231,6 +231,8 @@ namespace OpenSim | |||
231 | /// </summary> | 231 | /// </summary> |
232 | private void RegisterConsoleCommands() | 232 | private void RegisterConsoleCommands() |
233 | { | 233 | { |
234 | MainServer.RegisterHttpConsoleCommands(m_console); | ||
235 | |||
234 | m_console.Commands.AddCommand("Objects", false, "force update", | 236 | m_console.Commands.AddCommand("Objects", false, "force update", |
235 | "force update", | 237 | "force update", |
236 | "Force the update of all objects on clients", | 238 | "Force the update of all objects on clients", |
@@ -248,14 +250,6 @@ namespace OpenSim | |||
248 | + "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", |
249 | Debug); | 251 | Debug); |
250 | 252 | ||
251 | m_console.Commands.AddCommand("Comms", false, "debug http", | ||
252 | "debug http <level>", | ||
253 | "Turn on inbound http request debugging for everything except the event queue (see debug eq).", | ||
254 | "If level >= 2 then the handler used to service the request is logged.\n" | ||
255 | + "If level >= 1 then incoming HTTP requests are logged.\n" | ||
256 | + "If level <= 0 then no extra http logging is done.\n", | ||
257 | Debug); | ||
258 | |||
259 | m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); | 253 | m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); |
260 | 254 | ||
261 | m_console.Commands.AddCommand("Regions", false, "debug scene", | 255 | m_console.Commands.AddCommand("Regions", false, "debug scene", |
@@ -914,21 +908,6 @@ namespace OpenSim | |||
914 | 908 | ||
915 | break; | 909 | break; |
916 | 910 | ||
917 | case "http": | ||
918 | if (args.Length == 3) | ||
919 | { | ||
920 | int newDebug; | ||
921 | if (int.TryParse(args[2], out newDebug)) | ||
922 | { | ||
923 | MainServer.Instance.DebugLevel = newDebug; | ||
924 | MainConsole.Instance.OutputFormat("Debug http level set to {0}", newDebug); | ||
925 | break; | ||
926 | } | ||
927 | } | ||
928 | |||
929 | MainConsole.Instance.Output("Usage: debug http 0..2"); | ||
930 | break; | ||
931 | |||
932 | case "scene": | 911 | case "scene": |
933 | if (args.Length == 4) | 912 | if (args.Length == 4) |
934 | { | 913 | { |