Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing
parent
84289cfb4b
commit
20473af892
|
@ -105,8 +105,8 @@ namespace OpenSim.Region.Capabilities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void RegisterHandlers()
|
public void RegisterHandlers()
|
||||||
{
|
{
|
||||||
m_log.Info("[CAPS]: Registering CAPS handlers");
|
|
||||||
string capsBase = "/CAPS/" + m_capsObjectPath;
|
string capsBase = "/CAPS/" + m_capsObjectPath;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_httpListener.AddStreamHandler(
|
m_httpListener.AddStreamHandler(
|
||||||
|
|
|
@ -35,6 +35,9 @@ namespace OpenSim.Region.Capabilities
|
||||||
{
|
{
|
||||||
public class LLSDHelpers
|
public class LLSDHelpers
|
||||||
{
|
{
|
||||||
|
// private static readonly log4net.ILog m_log
|
||||||
|
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public static string SerialiseLLSDReply(object obj)
|
public static string SerialiseLLSDReply(object obj)
|
||||||
{
|
{
|
||||||
StringWriter sw = new StringWriter();
|
StringWriter sw = new StringWriter();
|
||||||
|
@ -44,6 +47,9 @@ namespace OpenSim.Region.Capabilities
|
||||||
SerializeLLSDType(writer, obj);
|
SerializeLLSDType(writer, obj);
|
||||||
writer.WriteEndElement();
|
writer.WriteEndElement();
|
||||||
writer.Close();
|
writer.Close();
|
||||||
|
|
||||||
|
//m_log.DebugFormat("[LLSD Helpers]: Generated serialized LLSD reply {0}", sw.ToString());
|
||||||
|
|
||||||
return sw.ToString();
|
return sw.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,8 @@ namespace OpenSim.Region.Communications.Local
|
||||||
|
|
||||||
public class LocalLoginService : LoginService
|
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;
|
private CommunicationsLocal m_Parent;
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
regionCommsHost.OnCloseAgentConnection += CloseConnection;
|
regionCommsHost.OnCloseAgentConnection += CloseConnection;
|
||||||
regionCommsHost.OnRegionUp += newRegionUp;
|
regionCommsHost.OnRegionUp += newRegionUp;
|
||||||
regionCommsHost.OnChildAgentUpdate += ChildAgentUpdate;
|
regionCommsHost.OnChildAgentUpdate += ChildAgentUpdate;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue