From 1a55309ea72f090112a693763e4338535ef5add0 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 18 Sep 2013 22:56:00 +0100 Subject: minor: Make log message when Scene.IncomingChildAgentDateUpdate() more explicit that there is a problem if it still finds the agent to be a child if the sender wanted to wait till it became root Add some comments about the mssage sequence, though much more data is at http://opensimulator.org/wiki/Teleports --- OpenSim/Region/Framework/Scenes/Scene.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e00206f..6c9a8df 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -4338,9 +4338,14 @@ namespace OpenSim.Region.Framework.Scenes while (sp.IsChildAgent && ntimes-- > 0) Thread.Sleep(1000); - m_log.DebugFormat( - "[SCENE]: Found presence {0} {1} {2} in {3} after {4} waits", - sp.Name, sp.UUID, sp.IsChildAgent ? "child" : "root", Name, 20 - ntimes); + if (sp.IsChildAgent) + m_log.DebugFormat( + "[SCENE]: Found presence {0} {1} unexpectedly still child in {2}", + sp.Name, sp.UUID, Name); + else + m_log.DebugFormat( + "[SCENE]: Found presence {0} {1} as root in {2} after {3} waits", + sp.Name, sp.UUID, Name, 20 - ntimes); if (sp.IsChildAgent) return false; -- cgit v1.1