Add more log messages for message service/user service get_friends_list interaction
parent
136476aaf3
commit
9aee2bc8e7
|
@ -260,6 +260,10 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||||
/// <param name="friendlistowner">The agent that we're retreiving the friends Data for.</param>
|
/// <param name="friendlistowner">The agent that we're retreiving the friends Data for.</param>
|
||||||
private Dictionary<UUID, FriendListItem> GetUserFriendList(UUID friendlistowner)
|
private Dictionary<UUID, FriendListItem> GetUserFriendList(UUID friendlistowner)
|
||||||
{
|
{
|
||||||
|
m_log.DebugFormat(
|
||||||
|
"[MESSAGE SERVICE]: Requesting friends list for {0} from {1}",
|
||||||
|
friendlistowner, m_cfg.UserServerURL);
|
||||||
|
|
||||||
Dictionary<UUID, FriendListItem> buddies = new Dictionary<UUID,FriendListItem>();
|
Dictionary<UUID, FriendListItem> buddies = new Dictionary<UUID,FriendListItem>();
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
{
|
{
|
||||||
public class UserServerFriendsModule
|
public class UserServerFriendsModule
|
||||||
{
|
{
|
||||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private UserDataBaseService m_userDataBaseService;
|
private UserDataBaseService m_userDataBaseService;
|
||||||
|
|
||||||
|
@ -56,12 +56,10 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
|
|
||||||
public void Initialise(IGridServiceCore core)
|
public void Initialise(IGridServiceCore core)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PostInitialise()
|
public void PostInitialise()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterHandlers(BaseHttpServer httpServer)
|
public void RegisterHandlers(BaseHttpServer httpServer)
|
||||||
|
@ -159,6 +157,9 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
|
|
||||||
public XmlRpcResponse XmlRpcResponseXmlRPCGetUserFriendList(XmlRpcRequest request, IPEndPoint remoteClient)
|
public XmlRpcResponse XmlRpcResponseXmlRPCGetUserFriendList(XmlRpcRequest request, IPEndPoint remoteClient)
|
||||||
{
|
{
|
||||||
|
m_log.DebugFormat(
|
||||||
|
"[USER SERVER FRIENDS MODULE]: BEGIN XmlRpcResponseXmlRPCGetUserFriendList from {0}", remoteClient);
|
||||||
|
|
||||||
// XmlRpcResponse response = new XmlRpcResponse();
|
// XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable requestData = (Hashtable)request.Params[0];
|
Hashtable requestData = (Hashtable)request.Params[0];
|
||||||
// Hashtable responseData = new Hashtable();
|
// Hashtable responseData = new Hashtable();
|
||||||
|
@ -170,6 +171,9 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
returndata = m_userDataBaseService.GetUserFriendList(new UUID((string)requestData["ownerID"]));
|
returndata = m_userDataBaseService.GetUserFriendList(new UUID((string)requestData["ownerID"]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_log.DebugFormat(
|
||||||
|
"[USER SERVER FRIENDS MODULE]: END XmlRpcResponseXmlRPCGetUserFriendList from {0}", remoteClient);
|
||||||
|
|
||||||
return FriendListItemListtoXmlRPCResponse(returndata);
|
return FriendListItemListtoXmlRPCResponse(returndata);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue