diff options
author | Justin Clark-Casey (justincc) | 2012-12-13 23:32:28 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-13 23:32:28 +0000 |
commit | 0b93a68030cb498896c296654004d3dc2270bc4b (patch) | |
tree | c34f390994c105cd210dc9d6fe641d89c34ce85a /OpenSim/Region/ClientStack/Linden | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-0b93a68030cb498896c296654004d3dc2270bc4b.zip opensim-SC_OLD-0b93a68030cb498896c296654004d3dc2270bc4b.tar.gz opensim-SC_OLD-0b93a68030cb498896c296654004d3dc2270bc4b.tar.bz2 opensim-SC_OLD-0b93a68030cb498896c296654004d3dc2270bc4b.tar.xz |
minor: add some more detail to the logging if an LLClientView fails to process a packet
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4fd81fa..504df40 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -11864,11 +11864,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11864 | if (logPacket) | 11864 | if (logPacket) |
11865 | m_log.DebugFormat( | 11865 | m_log.DebugFormat( |
11866 | "[CLIENT]: PACKET IN from {0} ({1}) in {2} - {3}", | 11866 | "[CLIENT]: PACKET IN from {0} ({1}) in {2} - {3}", |
11867 | Name, SceneAgent.IsChildAgent ? "child" : "root ", m_scene.RegionInfo.RegionName, packet.Type); | 11867 | Name, SceneAgent.IsChildAgent ? "child" : "root ", Scene.Name, packet.Type); |
11868 | } | 11868 | } |
11869 | 11869 | ||
11870 | if (!ProcessPacketMethod(packet)) | 11870 | if (!ProcessPacketMethod(packet)) |
11871 | m_log.Warn("[CLIENT]: unhandled packet " + packet.Type); | 11871 | m_log.WarnFormat( |
11872 | "[CLIENT]: Unhandled packet {0} from {1} ({2}) in {3}. Ignoring.", | ||
11873 | packet.Type, Name, SceneAgent.IsChildAgent ? "child" : "root ", Scene.Name); | ||
11872 | } | 11874 | } |
11873 | 11875 | ||
11874 | private static PrimitiveBaseShape GetShapeFromAddPacket(ObjectAddPacket addPacket) | 11876 | private static PrimitiveBaseShape GetShapeFromAddPacket(ObjectAddPacket addPacket) |