aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
authoronefang2020-09-09 04:33:43 +1000
committeronefang2020-09-09 04:33:43 +1000
commit0fa5ff0ec03e5dfd6ebdd9af2268e0c33796368d (patch)
tree2abffa5e6450eb654f1aa21f9ed46d5cf7a4d7c1 /OpenSim/Region/ClientStack/Linden
parentUpdate version number stuff, and hack it into the money display. (diff)
downloadopensim-SC-0fa5ff0ec03e5dfd6ebdd9af2268e0c33796368d.zip
opensim-SC-0fa5ff0ec03e5dfd6ebdd9af2268e0c33796368d.tar.gz
opensim-SC-0fa5ff0ec03e5dfd6ebdd9af2268e0c33796368d.tar.bz2
opensim-SC-0fa5ff0ec03e5dfd6ebdd9af2268e0c33796368d.tar.xz
Various logging fix ups.
Mostly removing console spam. Swap a bunch of info / debug logs. Better archiver console spam. Have some "avatar has left" mesasge hit the INFO console. Tweak the login logging a bit, especially for impersonations. Default to INFO on the console and DEBUG in the log files. More time stamp resolution. Better sim startup console notification. Attempt to render "[LLUDPSERVER]: Malformed data, cannot parse" into something human readable as an aid to diagnosis. Beats hand translating the big block of hex codes it was spewing. Better sim startup finished messages. Inform neighbours we are up before the finished messages. Always send the "[RegionReady]: INITIALIZATION COMPLETE FOR" message.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 6994efb..c3ee6ab 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -33,6 +33,8 @@ using System.IO;
33using System.Net; 33using System.Net;
34using System.Net.Sockets; 34using System.Net.Sockets;
35using System.Reflection; 35using System.Reflection;
36using System.Text;
37using System.Text.RegularExpressions;
36using System.Threading; 38using System.Threading;
37using log4net; 39using log4net;
38using Nini.Config; 40using Nini.Config;
@@ -1319,8 +1321,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1319 { 1321 {
1320 if (IncomingMalformedPacketCount < 100) 1322 if (IncomingMalformedPacketCount < 100)
1321 { 1323 {
1322 m_log.WarnFormat("[LLUDPSERVER]: Malformed data, cannot parse {0} byte packet from {1}, data {2}:", 1324 m_log.WarnFormat("[LLUDPSERVER]: Malformed data, cannot parse {0} byte packet from {1}, data as hex {2}: {3}",
1323 buffer.DataLength, buffer.RemoteEndPoint, Utils.BytesToHexString(buffer.Data, buffer.DataLength, null)); 1325 buffer.DataLength, buffer.RemoteEndPoint, Utils.BytesToHexString(buffer.Data, buffer.DataLength, null),
1326 Regex.Replace(Encoding.UTF8.GetString(buffer.Data, 0, buffer.DataLength), @"\p{Cc}", a=>string.Format("[{0:X2}]", (byte)a.Value[0])));
1324 } 1327 }
1325 1328
1326 RecordMalformedInboundPacket(endPoint); 1329 RecordMalformedInboundPacket(endPoint);