From 7deb2d9646cae6ad2f8a5d206643e8f3b6252327 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 13 Dec 2012 23:32:28 +0000 Subject: [PATCH] minor: add some more detail to the logging if an LLClientView fails to process a packet --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5513876544..b4cd992b4d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -11862,11 +11862,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (logPacket) m_log.DebugFormat( "[CLIENT]: PACKET IN from {0} ({1}) in {2} - {3}", - Name, SceneAgent.IsChildAgent ? "child" : "root ", m_scene.RegionInfo.RegionName, packet.Type); + Name, SceneAgent.IsChildAgent ? "child" : "root ", Scene.Name, packet.Type); } if (!ProcessPacketMethod(packet)) - m_log.Warn("[CLIENT]: unhandled packet " + packet.Type); + m_log.WarnFormat( + "[CLIENT]: Unhandled packet {0} from {1} ({2}) in {3}. Ignoring.", + packet.Type, Name, SceneAgent.IsChildAgent ? "child" : "root ", Scene.Name); } private static PrimitiveBaseShape GetShapeFromAddPacket(ObjectAddPacket addPacket)