Add levels 4 and 5 to "debug http" console command that will log a sample of incoming request data and the entire incoming data respectively.

See "help debug http" for more details.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-09-11 21:48:02 +01:00
parent e041f09750
commit 25111e703f
3 changed files with 90 additions and 12 deletions

View File

@@ -111,6 +111,8 @@ namespace OpenSim.Framework.Servers
+ "If level >= 1, then short warnings are logged when receiving bad input data.\n"
+ "If level >= 2, then long warnings are logged when receiving bad input data.\n"
+ "If level >= 3, then short notices about all incoming non-poll HTTP requests are logged.\n"
+ "If level >= 4, then a sample from the beginning of the incoming data is logged.\n"
+ "If level >= 5, then the entire incoming data is logged.\n"
+ "If no level is specified then the current level is returned.",
HandleDebugHttpCommand);
}