diff options
author | Justin Clarke Casey | 2008-03-20 13:03:26 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-20 13:03:26 +0000 |
commit | 20473af89240457c1517bb547f8fc239478fd720 (patch) | |
tree | 80e6b35e567ff48d12a74299f8942c6d2c442a57 /OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs | |
parent | Fix server crash when setting prims physical under basic physics. (diff) | |
download | opensim-SC-20473af89240457c1517bb547f8fc239478fd720.zip opensim-SC-20473af89240457c1517bb547f8fc239478fd720.tar.gz opensim-SC-20473af89240457c1517bb547f8fc239478fd720.tar.bz2 opensim-SC-20473af89240457c1517bb547f8fc239478fd720.tar.xz |
Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs b/OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs index bf47be7..a39f5aa 100644 --- a/OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs +++ b/OpenSim/Framework/Communications/Capabilities/LLSDHelpers.cs | |||
@@ -35,6 +35,9 @@ namespace OpenSim.Region.Capabilities | |||
35 | { | 35 | { |
36 | public class LLSDHelpers | 36 | public class LLSDHelpers |
37 | { | 37 | { |
38 | // private static readonly log4net.ILog m_log | ||
39 | // = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
40 | |||
38 | public static string SerialiseLLSDReply(object obj) | 41 | public static string SerialiseLLSDReply(object obj) |
39 | { | 42 | { |
40 | StringWriter sw = new StringWriter(); | 43 | StringWriter sw = new StringWriter(); |
@@ -44,6 +47,9 @@ namespace OpenSim.Region.Capabilities | |||
44 | SerializeLLSDType(writer, obj); | 47 | SerializeLLSDType(writer, obj); |
45 | writer.WriteEndElement(); | 48 | writer.WriteEndElement(); |
46 | writer.Close(); | 49 | writer.Close(); |
50 | |||
51 | //m_log.DebugFormat("[LLSD Helpers]: Generated serialized LLSD reply {0}", sw.ToString()); | ||
52 | |||
47 | return sw.ToString(); | 53 | return sw.ToString(); |
48 | } | 54 | } |
49 | 55 | ||