From 6e2c7da0182c0ee5bf95cb50e95878caa968a77b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 9 May 2008 15:51:02 +0000 Subject: * Minor: Insert utility function to format raw xml strings into indented xml for debugging purposes --- OpenSim/Framework/Communications/Capabilities/Caps.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Communications/Capabilities') diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 8061e28..ad3d79d 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs @@ -269,8 +269,9 @@ namespace OpenSim.Framework.Communications.Capabilities { response = "folders" + response + ""; } - - //m_log.DebugFormat("[AGENT INVENTORY]: Replying to CAPS fetch inventory request {0}", response); + + //m_log.DebugFormat("[AGENT INVENTORY]: Replying to CAPS fetch inventory request with following xml"); + //m_log.Debug(Util.GetFormattedXml(response)); return response; } @@ -960,4 +961,4 @@ namespace OpenSim.Framework.Communications.Capabilities } } } -} \ No newline at end of file +} -- cgit v1.1