mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
reduce LogFailedXML dump to console to just 250 chars.
This commit is contained in:
@@ -3933,8 +3933,8 @@ namespace OpenSim.Framework
|
||||
public static void LogFailedXML(string message, string xml)
|
||||
{
|
||||
int length = xml.Length;
|
||||
if (length > 2000)
|
||||
xml = xml.Substring(0, 2000) + "...";
|
||||
if (length > 250)
|
||||
xml = xml.Substring(0, 250) + "...";
|
||||
|
||||
for (int i = 0 ; i < xml.Length ; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user