Remove debug output i left in
parent
c3e74d9e04
commit
1a8c235d58
|
@ -1949,7 +1949,6 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
|
|
||||||
NameValueCollection query = HttpUtility.ParseQueryString(httpRequest.Url.Query);
|
NameValueCollection query = HttpUtility.ParseQueryString(httpRequest.Url.Query);
|
||||||
string[] ids = query.GetValues("ids");
|
string[] ids = query.GetValues("ids");
|
||||||
m_log.DebugFormat("[DISPLAYNAMES]: Request for {0} names", ids.Length);
|
|
||||||
|
|
||||||
Dictionary<UUID,string> names = m_UserManager.GetUsersNames(ids, m_scopeID);
|
Dictionary<UUID,string> names = m_UserManager.GetUsersNames(ids, m_scopeID);
|
||||||
StringBuilder lsl = LLSDxmlEncode.Start(names.Count * 256 + 256);
|
StringBuilder lsl = LLSDxmlEncode.Start(names.Count * 256 + 256);
|
||||||
|
@ -1995,7 +1994,6 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
}
|
}
|
||||||
|
|
||||||
LLSDxmlEncode.AddEndMap(lsl);
|
LLSDxmlEncode.AddEndMap(lsl);
|
||||||
m_log.DebugFormat("[DISPLAYNAMES]: Returned {0} names", ct);
|
|
||||||
return LLSDxmlEncode.End(lsl);;
|
return LLSDxmlEncode.End(lsl);;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,7 +164,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
|
||||||
|
|
||||||
public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs)
|
public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[REMOTE USER ACCOUNTS]: Request for {0} records", IDs.Count);
|
|
||||||
List<UserAccount> accs = new List<UserAccount>();
|
List<UserAccount> accs = new List<UserAccount>();
|
||||||
List<string> missing = new List<string>();
|
List<string> missing = new List<string>();
|
||||||
|
|
||||||
|
@ -178,16 +177,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
|
||||||
{
|
{
|
||||||
account = m_Cache.Get(uuid, out inCache);
|
account = m_Cache.Get(uuid, out inCache);
|
||||||
if (inCache)
|
if (inCache)
|
||||||
{
|
|
||||||
accs.Add(account);
|
accs.Add(account);
|
||||||
m_log.DebugFormat("[REMOTE USER ACCOUNTS]: Found in cache: {0}, is null {1}", uuid, account == null);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
missing.Add(id);
|
missing.Add(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if(missing.Count > 0)
|
if(missing.Count > 0)
|
||||||
{
|
{
|
||||||
|
@ -204,7 +198,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_log.DebugFormat("[REMOTE USER ACCOUNTS]: returned {0} records", accs.Count);
|
|
||||||
return accs;
|
return accs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue