aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-31 18:27:10 +0100
committerJustin Clark-Casey (justincc)2010-08-31 18:27:10 +0100
commitb8c58e5f9f5957ae5b28bc17b2db2eb9f55dcd7b (patch)
tree80fd6d3047dfd92daaf6685e7774c88aed30161f /OpenSim/Region/Application/OpenSim.cs
parentminor: Add some method doc to BaseHttpServer.HandleRequest() (diff)
downloadopensim-SC_OLD-b8c58e5f9f5957ae5b28bc17b2db2eb9f55dcd7b.zip
opensim-SC_OLD-b8c58e5f9f5957ae5b28bc17b2db2eb9f55dcd7b.tar.gz
opensim-SC_OLD-b8c58e5f9f5957ae5b28bc17b2db2eb9f55dcd7b.tar.bz2
opensim-SC_OLD-b8c58e5f9f5957ae5b28bc17b2db2eb9f55dcd7b.tar.xz
reinsert functionality to debug log more levels of incoming and outgoing client protocol packets
These levels correspond to packets that one isn't usually interested in when debugging (e.g. regular outgoing SimStats packets) This is equivalent to what we had a year ago before it was removed. It's extremely crude since it doesn't allow one to pick individual clients or packets. However, it can still be useful when debugging packet race conditions.
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 6834606..3c2575d 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -218,7 +218,13 @@ namespace OpenSim
218 218
219 m_console.Commands.AddCommand("region", false, "debug packet", 219 m_console.Commands.AddCommand("region", false, "debug packet",
220 "debug packet <level>", 220 "debug packet <level>",
221 "Turn on packet debugging", Debug); 221 "Turn on packet debugging",
222 "If level > 255 then all incoming and outgoing packets are logged.\n"
223 + "If level <= 255 then incoming AgentUpdate and outgoing SimStats and SimulatorViewerTimeMessage packets are not logged.\n"
224 + "If level <= 200 then incoming RequestImage and outgoing ImagePacket, ImageData, LayerData and CoarseLocationUpdate packets are not logged.\n"
225 + "If level <= 100 then incoming ViewerEffect and AgentAnimation and outgoing ViewerEffect and AvatarAnimation packets are not logged.\n"
226 + "If level <= 0 then no packets are logged.",
227 Debug);
222 228
223 m_console.Commands.AddCommand("region", false, "debug scene", 229 m_console.Commands.AddCommand("region", false, "debug scene",
224 "debug scene <cripting> <collisions> <physics>", 230 "debug scene <cripting> <collisions> <physics>",