add extra logging on message service registrations with the user service

this is to aid in diagnosing http://opensimulator.org/mantis/view.php?id=4351
0.6.8-post-fixes
Justin Clark-Casey (justincc) 2009-12-03 18:03:19 +00:00
parent d7dc0381b8
commit 73045c5c43
1 changed files with 29 additions and 19 deletions

View File

@ -168,6 +168,10 @@ namespace OpenSim.Grid.UserServer.Modules
public XmlRpcResponse XmlRPCRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient)
{
m_log.DebugFormat(
"[MSGSERVER]: Beginning processing message service registration request from {0}",
remoteClient.Address);
XmlRpcResponse response = new XmlRpcResponse();
Hashtable requestData = (Hashtable)request.Params[0];
Hashtable responseData = new Hashtable();
@ -189,6 +193,12 @@ namespace OpenSim.Grid.UserServer.Modules
"[MSGSERVER]: Successfully processed message service registration request from {0}",
remoteClient.Address);
}
else
{
m_log.ErrorFormat(
"[MSGSERVER]: Message service registration request from {0} did not contain a uri, not registering",
remoteClient.Address);
}
return response;
}