From 75ea84f3d250c8e9bc8cdf68094a7143589e3e0b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 14 Jan 2009 18:46:33 +0000 Subject: * minor: Change around more debugging messages --- OpenSim/Region/Environment/Scenes/Scene.cs | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 11655e9..4ff4c0e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2759,15 +2759,15 @@ namespace OpenSim.Region.Environment.Scenes /// public void NewUserConnection(AgentCircuitData agent) { - // Don't disable this log messages - it's too useful + // Don't disable this log message - it's too helpful m_log.DebugFormat( - "[CONNECTION SETUP]: Scene {0} told of incoming client {1} {2} {3} (circuit code {4})", + "[CONNECTION BEGIN]: Scene {0} told of incoming client {1} {2} {3} (circuit code {4})", RegionInfo.RegionName, agent.firstname, agent.lastname, agent.AgentID, agent.circuitcode); if (m_regInfo.EstateSettings.IsBanned(agent.AgentID)) { m_log.WarnFormat( - "[CONNECTION SETUP]: Denied access to: {0} at {1} because the user is on the region banlist", + "[CONNECTION BEGIN]: Denied access to: {0} at {1} because the user is on the region banlist", agent.AgentID, RegionInfo.RegionName); } @@ -2778,11 +2778,22 @@ namespace OpenSim.Region.Environment.Scenes ScenePresence sp = m_sceneGraph.GetScenePresence(agent.AgentID); if (sp != null) { - m_log.DebugFormat( - "[CONNECTION SETUP]: Updated existing agent {0} in {1}", agent.AgentID, RegionInfo.RegionName); + if (sp.IsChildAgent) + m_log.DebugFormat( + "[CONNECTION BEGIN]: Incoming client for {0} is existing child agent {1}", + RegionInfo.RegionName, agent.AgentID); + else + m_log.DebugFormat( + "[CONNECTION BEGIN]: Incoming client for {0} is existing root agent {1}", + RegionInfo.RegionName, agent.AgentID); + +// m_log.DebugFormat( +// "[CONNECTION BEGIN]: Updated existing agent {0} in {1}", agent.AgentID, RegionInfo.RegionName); + sp.AdjustKnownSeeds(); sp.AbsolutePosition = agent.startpos; m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); + return; } @@ -2813,7 +2824,7 @@ namespace OpenSim.Region.Environment.Scenes else { m_log.WarnFormat( - "[CONNECTION SETUP]: We couldn't find a User Info record for {0}. This is usually an indication that the UUID we're looking up is invalid", agent.AgentID); + "[CONNECTION BEGIN]: We couldn't find a User Info record for {0}. This is usually an indication that the UUID we're looking up is invalid", agent.AgentID); } } -- cgit v1.1