aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-01 20:05:26 +0000
committerJustin Clarke Casey2008-08-01 20:05:26 +0000
commit5350cec0b37f40033117d011906bf66a5367c30f (patch)
tree06393efe09a69066b1497a69e3e11c7ef1633426 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* correct bug from last commit - for now don't drop cached user profile when ... (diff)
downloadopensim-SC_OLD-5350cec0b37f40033117d011906bf66a5367c30f.zip
opensim-SC_OLD-5350cec0b37f40033117d011906bf66a5367c30f.tar.gz
opensim-SC_OLD-5350cec0b37f40033117d011906bf66a5367c30f.tar.bz2
opensim-SC_OLD-5350cec0b37f40033117d011906bf66a5367c30f.tar.xz
* minor: log message twiddling
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index f81248b..33b2f6f 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1982,16 +1982,12 @@ namespace OpenSim.Region.Environment.Scenes
1982 /// <param name="child"></param> 1982 /// <param name="child"></param>
1983 public override void AddNewClient(IClientAPI client, bool child) 1983 public override void AddNewClient(IClientAPI client, bool child)
1984 { 1984 {
1985 m_log.DebugFormat(
1986 "[CONNECTION DEBUGGING]: Creating new client for {0} at {1}",
1987 client.AgentId, RegionInfo.RegionName);
1988
1989 SubscribeToClientEvents(client); 1985 SubscribeToClientEvents(client);
1990 ScenePresence presence; 1986 ScenePresence presence;
1991 1987
1992 if (m_restorePresences.ContainsKey(client.AgentId)) 1988 if (m_restorePresences.ContainsKey(client.AgentId))
1993 { 1989 {
1994 m_log.Info("[REGION]: Restoring Scene Presence"); 1990 m_log.DebugFormat("[SCENE]: Restoring agent {0} {1} in {2}", client.Name, client.AgentId, RegionInfo.RegionName);
1995 1991
1996 presence = m_restorePresences[client.AgentId]; 1992 presence = m_restorePresences[client.AgentId];
1997 m_restorePresences.Remove(client.AgentId); 1993 m_restorePresences.Remove(client.AgentId);
@@ -2015,7 +2011,9 @@ namespace OpenSim.Region.Environment.Scenes
2015 } 2011 }
2016 else 2012 else
2017 { 2013 {
2018 m_log.Info("[REGION]: Adding New Scene Presence"); 2014 m_log.DebugFormat(
2015 "[SCENE]: Adding new {0} agent {1} {2} in {3}",
2016 (child ? "child" : "root"), client.Name, client.AgentId, RegionInfo.RegionName);
2019 2017
2020 CommsManager.UserProfileCacheService.AddNewUser(client); 2018 CommsManager.UserProfileCacheService.AddNewUser(client);
2021 2019
@@ -2263,6 +2261,10 @@ namespace OpenSim.Region.Environment.Scenes
2263 } 2261 }
2264 try 2262 try
2265 { 2263 {
2264 m_log.DebugFormat(
2265 "[SCENE]: Removing {0} agent {1} from region {2}",
2266 (childagentYN ? "child" : "root"), agentID, RegionInfo.RegionName);
2267
2266 if (avatar.IsChildAgent) 2268 if (avatar.IsChildAgent)
2267 { 2269 {
2268 m_innerScene.removeUserCount(false); 2270 m_innerScene.removeUserCount(false);