diff options
author | Justin Clark-Casey (justincc) | 2012-06-14 23:46:09 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-14 23:46:09 +0100 |
commit | 9825861f4ac8d78665c33e2630824d97b356e642 (patch) | |
tree | 104fe5efe6f71cc002d25cfc2d3f641aee908d69 /OpenSim/Region/Application/OpenSim.cs | |
parent | Fix a regression in BaseHttpServer.HandleXmlRpcRequests() from recent c6e3752 (diff) | |
download | opensim-SC_OLD-9825861f4ac8d78665c33e2630824d97b356e642.zip opensim-SC_OLD-9825861f4ac8d78665c33e2630824d97b356e642.tar.gz opensim-SC_OLD-9825861f4ac8d78665c33e2630824d97b356e642.tar.bz2 opensim-SC_OLD-9825861f4ac8d78665c33e2630824d97b356e642.tar.xz |
Shuffle "debug http" levels so that 1 and 2 now cause different levels of warn to be logged if we receive invalid xml for xmlrpc.
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 57a3c69..96d41a4 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -250,10 +250,11 @@ namespace OpenSim | |||
250 | 250 | ||
251 | m_console.Commands.AddCommand("Comms", false, "debug http", | 251 | m_console.Commands.AddCommand("Comms", false, "debug http", |
252 | "debug http <level>", | 252 | "debug http <level>", |
253 | "Turn on inbound http request debugging for everything except the event queue (see debug eq).", | 253 | "Turn on inbound non-poll 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" | 254 | "If level <= 0, then no extra logging is done.\n" |
255 | + "If level >= 1 then incoming HTTP requests are logged.\n" | 255 | + "If level >= 1, then short warnings are logged when receiving bad input data.\n" |
256 | + "If level <= 0 then no extra http logging is done.\n", | 256 | + "If level >= 2, then long warnings are logged when receiving bad input data.\n" |
257 | + "If level >= 3, then short notices about all incoming non-poll HTTP requests are logged.\n", | ||
257 | Debug); | 258 | Debug); |
258 | 259 | ||
259 | m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); | 260 | m_console.Commands.AddCommand("Comms", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); |