minor: Add avatar name to removing agent log message

integration
Justin Clark-Casey (justincc) 2012-04-26 00:42:37 +01:00
parent 74dbfe6bb5
commit e52fe03fff
1 changed files with 2 additions and 2 deletions

View File

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