* Append thread information on to the end of period diagnostics information

* This is working towards finding out why many more client threads are hanging about on wright plaza than there are actual agents
0.6.0-stable
Justin Clarke Casey 2008-08-25 23:27:08 +00:00
parent 4a475ca2be
commit c4d6a928c9
1 changed files with 5 additions and 2 deletions

View File

@ -107,6 +107,9 @@ namespace OpenSim.Framework.Servers
{
sb.Append(m_stats.Report());
}
sb.Append(Environment.NewLine);
sb.Append(GetThreadsReport());
m_log.Debug(sb);
}
@ -114,7 +117,7 @@ namespace OpenSim.Framework.Servers
/// <summary>
/// Get a report about the registered threads in this server.
/// </summary>
protected string GetThreadReport()
protected string GetThreadsReport()
{
StringBuilder sb = new StringBuilder();
@ -334,7 +337,7 @@ namespace OpenSim.Framework.Servers
break;
case "threads":
Notice(GetThreadReport());
Notice(GetThreadsReport());
break;
case "uptime":