diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 3b7328d..63469c8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -11243,23 +11243,26 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11243 | { | 11243 | { |
11244 | if (m_debugPacketLevel > 0) | 11244 | if (m_debugPacketLevel > 0) |
11245 | { | 11245 | { |
11246 | bool outputPacket = true; | 11246 | bool logPacket = true; |
11247 | 11247 | ||
11248 | if (m_debugPacketLevel <= 255 | 11248 | if (m_debugPacketLevel <= 255 |
11249 | && (packet.Type == PacketType.SimStats || packet.Type == PacketType.SimulatorViewerTimeMessage)) | 11249 | && (packet.Type == PacketType.SimStats || packet.Type == PacketType.SimulatorViewerTimeMessage)) |
11250 | outputPacket = false; | 11250 | logPacket = false; |
11251 | 11251 | ||
11252 | if (m_debugPacketLevel <= 200 | 11252 | if (m_debugPacketLevel <= 200 |
11253 | && (packet.Type == PacketType.ImagePacket | 11253 | && (packet.Type == PacketType.ImagePacket |
11254 | || packet.Type == PacketType.ImageData | 11254 | || packet.Type == PacketType.ImageData |
11255 | || packet.Type == PacketType.LayerData | 11255 | || packet.Type == PacketType.LayerData |
11256 | || packet.Type == PacketType.CoarseLocationUpdate)) | 11256 | || packet.Type == PacketType.CoarseLocationUpdate)) |
11257 | outputPacket = false; | 11257 | logPacket = false; |
11258 | 11258 | ||
11259 | if (m_debugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect)) | 11259 | if (m_debugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect)) |
11260 | outputPacket = false; | 11260 | logPacket = false; |
11261 | |||
11262 | if (m_debugPacketLevel <= 50 && packet.Type == PacketType.ImprovedTerseObjectUpdate) | ||
11263 | logPacket = false; | ||
11261 | 11264 | ||
11262 | if (outputPacket) | 11265 | if (logPacket) |
11263 | m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type); | 11266 | m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type); |
11264 | } | 11267 | } |
11265 | 11268 | ||