aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-09-24 23:42:57 +0100
committerJustin Clark-Casey (justincc)2014-09-24 23:44:55 +0100
commitd3578e2662a90fd04b011a745c1149df68c0954a (patch)
tree09805061d0364d1123c2f14c9c9f90ab62b8c02e /OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
parentUpdate libopenmetaverse to 0f4b361. (diff)
downloadopensim-SC-d3578e2662a90fd04b011a745c1149df68c0954a.zip
opensim-SC-d3578e2662a90fd04b011a745c1149df68c0954a.tar.gz
opensim-SC-d3578e2662a90fd04b011a745c1149df68c0954a.tar.bz2
opensim-SC-d3578e2662a90fd04b011a745c1149df68c0954a.tar.xz
Add "debug lludp data out" console command for logging outgoing data just before it's put on the wire.
Unlike "debug lludp packet" which logs at the point where OpenSim first asks the clientstack to send a certain outgoing packet, this logs immediately before the actual send. For low-level debugging purposes.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
index c34bafa..9dc9e0d 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
@@ -76,6 +76,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
76 /// or removed, this number must also change</summary> 76 /// or removed, this number must also change</summary>
77 const int THROTTLE_CATEGORY_COUNT = 8; 77 const int THROTTLE_CATEGORY_COUNT = 8;
78 78
79 /// <summary>
80 /// Controls whether information is logged about each outbound packet immediately before it is sent. For debug purposes.
81 /// </summary>
82 /// <remarks>Any level above 0 will turn on logging.</remarks>
83 public int DebugDataOutLevel { get; set; }
84
79 /// <summary>Fired when updated networking stats are produced for this client</summary> 85 /// <summary>Fired when updated networking stats are produced for this client</summary>
80 public event PacketStats OnPacketStats; 86 public event PacketStats OnPacketStats;
81 /// <summary>Fired when the queue for a packet category is empty. This event can be 87 /// <summary>Fired when the queue for a packet category is empty. This event can be