aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Friends/FriendsService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Friends/FriendsService.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Friends/FriendsService.cs b/OpenSim/Services/Friends/FriendsService.cs
index e2033ac..dd3f733 100644
--- a/OpenSim/Services/Friends/FriendsService.cs
+++ b/OpenSim/Services/Friends/FriendsService.cs
@@ -29,6 +29,7 @@ using OpenMetaverse;
29using OpenSim.Framework; 29using OpenSim.Framework;
30using System; 30using System;
31using System.Collections.Generic; 31using System.Collections.Generic;
32using System.Reflection;
32using OpenSim.Services.Interfaces; 33using OpenSim.Services.Interfaces;
33using OpenSim.Data; 34using OpenSim.Data;
34using Nini.Config; 35using Nini.Config;
@@ -39,7 +40,12 @@ namespace OpenSim.Services.Friends
39{ 40{
40 public class FriendsService : FriendsServiceBase, IFriendsService 41 public class FriendsService : FriendsServiceBase, IFriendsService
41 { 42 {
42 public FriendsService(IConfigSource config) : base(config) 43 private static readonly ILog m_log =
44 LogManager.GetLogger(
45 MethodBase.GetCurrentMethod().DeclaringType);
46
47 public FriendsService(IConfigSource config)
48 : base(config)
43 { 49 {
44 } 50 }
45 51
@@ -98,6 +104,7 @@ namespace OpenSim.Services.Friends
98 d.Data = new Dictionary<string, string>(); 104 d.Data = new Dictionary<string, string>();
99 d.Data["Flags"] = flags.ToString(); 105 d.Data["Flags"] = flags.ToString();
100 106
107 m_log.DebugFormat("[FRIENDS]: Storing {0} {1}", PrincipalID, Friend);
101 return m_Database.Store(d); 108 return m_Database.Store(d);
102 } 109 }
103 110