diff options
author | Justin Clark-Casey (justincc) | 2010-09-13 21:28:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-09-13 21:29:04 +0100 |
commit | e4858b0eeb25c6a43d615c241d1566a92ae278a5 (patch) | |
tree | a5e719828dbad51738a885c4498f7091102530af /OpenSim | |
parent | Remove SceneGraph.DetachObject() which was accidentally left around after bei... (diff) | |
download | opensim-SC_OLD-e4858b0eeb25c6a43d615c241d1566a92ae278a5.zip opensim-SC_OLD-e4858b0eeb25c6a43d615c241d1566a92ae278a5.tar.gz opensim-SC_OLD-e4858b0eeb25c6a43d615c241d1566a92ae278a5.tar.bz2 opensim-SC_OLD-e4858b0eeb25c6a43d615c241d1566a92ae278a5.tar.xz |
Add client name to packet resend log messages to make them a bit more informative
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index ca5a297..56e8c9b 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -695,9 +695,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
695 | if (packet.Header.Reliable && !udpClient.PacketArchive.TryEnqueue(packet.Header.Sequence)) | 695 | if (packet.Header.Reliable && !udpClient.PacketArchive.TryEnqueue(packet.Header.Sequence)) |
696 | { | 696 | { |
697 | if (packet.Header.Resent) | 697 | if (packet.Header.Resent) |
698 | m_log.Debug("[LLUDPSERVER]: Received a resend of already processed packet #" + packet.Header.Sequence + ", type: " + packet.Type); | 698 | m_log.DebugFormat( |
699 | else | 699 | "[LLUDPSERVER]: Received a resend of already processed packet #{0}, type {1} from {2}", |
700 | m_log.Warn("[LLUDPSERVER]: Received a duplicate (not marked as resend) of packet #" + packet.Header.Sequence + ", type: " + packet.Type); | 700 | packet.Header.Sequence, packet.Type, client.Name); |
701 | else | ||
702 | m_log.WarnFormat( | ||
703 | "[LLUDPSERVER]: Received a duplicate (not marked as resend) of packet #{0}, type {1} from {2}", | ||
704 | packet.Header.Sequence, packet.Type, client.Name); | ||
701 | 705 | ||
702 | // Avoid firing a callback twice for the same packet | 706 | // Avoid firing a callback twice for the same packet |
703 | return; | 707 | return; |