Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing

0.6.0-stable
Justin Clarke Casey 2008-03-20 13:03:26 +00:00
parent 84289cfb4b
commit 20473af892
4 changed files with 10 additions and 4 deletions

View File

@ -105,8 +105,8 @@ namespace OpenSim.Region.Capabilities
/// </summary>
public void RegisterHandlers()
{
m_log.Info("[CAPS]: Registering CAPS handlers");
string capsBase = "/CAPS/" + m_capsObjectPath;
try
{
m_httpListener.AddStreamHandler(

View File

@ -35,6 +35,9 @@ namespace OpenSim.Region.Capabilities
{
public class LLSDHelpers
{
// private static readonly log4net.ILog m_log
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public static string SerialiseLLSDReply(object obj)
{
StringWriter sw = new StringWriter();
@ -44,6 +47,9 @@ namespace OpenSim.Region.Capabilities
SerializeLLSDType(writer, obj);
writer.WriteEndElement();
writer.Close();
//m_log.DebugFormat("[LLSD Helpers]: Generated serialized LLSD reply {0}", sw.ToString());
return sw.ToString();
}

View File

@ -43,7 +43,8 @@ namespace OpenSim.Region.Communications.Local
public class LocalLoginService : LoginService
{
private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private static readonly log4net.ILog m_log
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private CommunicationsLocal m_Parent;

View File

@ -97,8 +97,7 @@ namespace OpenSim.Region.Environment.Scenes
regionCommsHost.OnAvatarCrossingIntoRegion += AgentCrossing;
regionCommsHost.OnCloseAgentConnection += CloseConnection;
regionCommsHost.OnRegionUp += newRegionUp;
regionCommsHost.OnChildAgentUpdate += ChildAgentUpdate;
regionCommsHost.OnChildAgentUpdate += ChildAgentUpdate;
}
else
{