Add avatar names to debug packet output

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-17 20:37:01 +01:00
parent d8ad649957
commit 2a7a5c4c90
1 changed files with 2 additions and 2 deletions

View File

@ -11616,7 +11616,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
logPacket = false;
if (logPacket)
m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type);
m_log.DebugFormat("[CLIENT]: Packet OUT {0} to {1}", packet.Type, Name);
}
m_udpServer.SendPacket(m_udpClient, packet, throttlePacketType, doAutomaticSplitting, method);
@ -11671,7 +11671,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
outputPacket = false;
if (outputPacket)
m_log.DebugFormat("[CLIENT]: Packet IN {0}", packet.Type);
m_log.DebugFormat("[CLIENT]: Packet IN {0} from {1}", packet.Type, Name);
}
if (!ProcessPacketMethod(packet))