minor: Add avatar name to removing agent log message

0.7.3-extended
Justin Clark-Casey (justincc) 2012-04-26 00:42:37 +01:00
parent 7058ce2c70
commit 6bc55b1086
1 changed files with 2 additions and 2 deletions

View File

@ -3220,8 +3220,8 @@ namespace OpenSim.Region.Framework.Scenes
try
{
m_log.DebugFormat(
"[SCENE]: Removing {0} agent {1} from region {2}",
(isChildAgent ? "child" : "root"), agentID, RegionInfo.RegionName);
"[SCENE]: Removing {0} agent {1} {2} from region {2}",
(isChildAgent ? "child" : "root"), avatar.Name, agentID, RegionInfo.RegionName);
m_sceneGraph.removeUserCount(!isChildAgent);