diff options
author | Melanie | 2011-10-25 02:54:24 +0100 |
---|---|---|
committer | Melanie | 2011-10-25 02:54:24 +0100 |
commit | 51fd5bac5ee67bb297480882c0285fc01f466e67 (patch) | |
tree | 1d565ba9e8d4e7188ab933c837360e0b5f117cb0 /OpenSim/Region/ClientStack/Linden | |
parent | Merge commit '62a63f834b7cc056ee37c396034d0e268f66b4a8' into bigmerge (diff) | |
parent | Add avatar names to debug packet output (diff) | |
download | opensim-SC_OLD-51fd5bac5ee67bb297480882c0285fc01f466e67.zip opensim-SC_OLD-51fd5bac5ee67bb297480882c0285fc01f466e67.tar.gz opensim-SC_OLD-51fd5bac5ee67bb297480882c0285fc01f466e67.tar.bz2 opensim-SC_OLD-51fd5bac5ee67bb297480882c0285fc01f466e67.tar.xz |
Merge commit '96ff2c63ed47e29a92cc79b6e8753d21e54da061' into bigmerge
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 2f16e04..6588f3d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -11737,7 +11737,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11737 | logPacket = false; | 11737 | logPacket = false; |
11738 | 11738 | ||
11739 | if (logPacket) | 11739 | if (logPacket) |
11740 | m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type); | 11740 | m_log.DebugFormat("[CLIENT]: Packet OUT {0} to {1}", packet.Type, Name); |
11741 | } | 11741 | } |
11742 | 11742 | ||
11743 | m_udpServer.SendPacket(m_udpClient, packet, throttlePacketType, doAutomaticSplitting, method); | 11743 | m_udpServer.SendPacket(m_udpClient, packet, throttlePacketType, doAutomaticSplitting, method); |
@@ -11778,8 +11778,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11778 | /// <param name="Pack">OpenMetaverse.packet</param> | 11778 | /// <param name="Pack">OpenMetaverse.packet</param> |
11779 | public void ProcessInPacket(Packet packet) | 11779 | public void ProcessInPacket(Packet packet) |
11780 | { | 11780 | { |
11781 | if (m_debugPacketLevel >= 255) | 11781 | if (m_debugPacketLevel > 0) |
11782 | m_log.DebugFormat("[CLIENT]: Packet IN {0}", packet.Type); | 11782 | { |
11783 | bool outputPacket = true; | ||
11784 | |||
11785 | if (m_debugPacketLevel <= 255 && packet.Type == PacketType.AgentUpdate) | ||
11786 | outputPacket = false; | ||
11787 | |||
11788 | if (m_debugPacketLevel <= 200 && packet.Type == PacketType.RequestImage) | ||
11789 | outputPacket = false; | ||
11790 | |||
11791 | if (m_debugPacketLevel <= 100 && (packet.Type == PacketType.ViewerEffect || packet.Type == PacketType.AgentAnimation)) | ||
11792 | outputPacket = false; | ||
11793 | |||
11794 | if (outputPacket) | ||
11795 | m_log.DebugFormat("[CLIENT]: Packet IN {0} from {1}", packet.Type, Name); | ||
11796 | } | ||
11783 | 11797 | ||
11784 | if (!ProcessPacketMethod(packet)) | 11798 | if (!ProcessPacketMethod(packet)) |
11785 | m_log.Warn("[CLIENT]: unhandled packet " + packet.Type); | 11799 | m_log.Warn("[CLIENT]: unhandled packet " + packet.Type); |