aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Friends
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 21:39:55 +0000
committerJustin Clarke Casey2009-01-06 21:39:55 +0000
commita31792ee5cb1ce619f21f5b428926c4709c3f14b (patch)
treef82a09b918c277741c97fdf4dca85fe1bd8463ac /OpenSim/Region/Environment/Modules/Avatar/Friends
parent* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with term... (diff)
downloadopensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.zip
opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.gz
opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.bz2
opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.xz
* prune and regrade log messages relating to client login and logout
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Friends')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
index b752404..580982d 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
@@ -305,7 +305,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
305 if (m_rootAgents.ContainsKey(AgentId)) 305 if (m_rootAgents.ContainsKey(AgentId))
306 { 306 {
307 m_rootAgents.Remove(AgentId); 307 m_rootAgents.Remove(AgentId);
308 m_log.Info("[FRIEND]: Removing " + AgentId + ". Agent was closed.");
309 } 308 }
310 } 309 }
311 } 310 }
@@ -315,7 +314,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
315 lock (m_rootAgents) 314 lock (m_rootAgents)
316 { 315 {
317 m_rootAgents[avatar.UUID] = avatar.RegionHandle; 316 m_rootAgents[avatar.UUID] = avatar.RegionHandle;
318 m_log.Info("[FRIEND]: Claiming " + avatar.Firstname + " " + avatar.Lastname + " in region:" + avatar.RegionHandle + ".");
319 // Claim User! my user! Mine mine mine! 317 // Claim User! my user! Mine mine mine!
320 } 318 }
321 } 319 }
@@ -331,7 +329,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
331 if (m_rootAgents[avatar.UUID] == avatar.RegionHandle) 329 if (m_rootAgents[avatar.UUID] == avatar.RegionHandle)
332 { 330 {
333 m_rootAgents.Remove(avatar.UUID); 331 m_rootAgents.Remove(avatar.UUID);
334 m_log.Info("[FRIEND]: Removing " + avatar.Firstname + " " + avatar.Lastname + " as a root agent"); 332 m_log.Debug("[FRIEND]: Removing " + avatar.Firstname + " " + avatar.Lastname + " as a root agent");
335 } 333 }
336 } 334 }
337 } 335 }
@@ -799,11 +797,11 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
799 /// <param name="iAmOnline"></param> 797 /// <param name="iAmOnline"></param>
800 private void SendPresenceState(IClientAPI client, List<FriendListItem> friendList, bool iAmOnline) 798 private void SendPresenceState(IClientAPI client, List<FriendListItem> friendList, bool iAmOnline)
801 { 799 {
802 m_log.DebugFormat("[FRIEND]: {0} logged {1}; sending presence updates", client.Name, iAmOnline ? "in" : "out"); 800 //m_log.DebugFormat("[FRIEND]: {0} logged {1}; sending presence updates", client.Name, iAmOnline ? "in" : "out");
803 801
804 if (friendList == null || friendList.Count == 0) 802 if (friendList == null || friendList.Count == 0)
805 { 803 {
806 m_log.DebugFormat("[FRIEND]: {0} doesn't have friends.", client.Name); 804 //m_log.DebugFormat("[FRIEND]: {0} doesn't have friends.", client.Name);
807 return; // nothing we can do if she doesn't have friends... 805 return; // nothing we can do if she doesn't have friends...
808 } 806 }
809 807
@@ -984,8 +982,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
984 982
985 private void OnLogout(IClientAPI remoteClient) 983 private void OnLogout(IClientAPI remoteClient)
986 { 984 {
987 m_log.DebugFormat("[FRIEND]: Client {0} logged out", remoteClient.Name);
988
989 List<FriendListItem> fl; 985 List<FriendListItem> fl;
990 lock (m_friendLists) 986 lock (m_friendLists)
991 { 987 {