From b675e41d01575b8da0e82006f01283ea553a8aff Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 19 Sep 2013 20:59:27 +0100 Subject: [PATCH] minor: Make log message at top of ScenePresence.CompleteMovement info level and comment out later log message in ScenePresence.MakeRootAgent() Need an info message since this is currently important in detecting teleport issue when not at debug log level. CompleteMovement message occurs before MakeRootAgent() one did --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 091e9e89a8..f12d629cc0 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -900,9 +900,9 @@ namespace OpenSim.Region.Framework.Scenes /// private void MakeRootAgent(Vector3 pos, bool isFlying) { - m_log.InfoFormat( - "[SCENE]: Upgrading child to root agent for {0} in {1}", - Name, m_scene.RegionInfo.RegionName); +// m_log.InfoFormat( +// "[SCENE]: Upgrading child to root agent for {0} in {1}", +// Name, m_scene.RegionInfo.RegionName); //m_log.DebugFormat("[SCENE]: known regions in {0}: {1}", Scene.RegionInfo.RegionName, KnownChildRegionHandles.Count); @@ -1388,9 +1388,9 @@ namespace OpenSim.Region.Framework.Scenes { // DateTime startTime = DateTime.Now; - m_log.DebugFormat( + m_log.InfoFormat( "[SCENE PRESENCE]: Completing movement of {0} into region {1} in position {2}", - client.Name, Scene.RegionInfo.RegionName, AbsolutePosition); + client.Name, Scene.Name, AbsolutePosition); // Make sure it's not a login agent. We don't want to wait for updates during login if (PresenceType != PresenceType.Npc && (m_teleportFlags & TeleportFlags.ViaLogin) == 0)