aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService
diff options
context:
space:
mode:
authorDiva Canto2013-07-02 15:39:10 -0700
committerDiva Canto2013-07-02 15:39:10 -0700
commit626940ceb83102a6aa0eebb81e10c86f1feb8eff (patch)
tree4f59be1be225598f9ab2990114f06d215130e66f /OpenSim/Services/UserAccountService
parentThis should have a strong effect on the Unknown User issue mantis #6625 (diff)
downloadopensim-SC-626940ceb83102a6aa0eebb81e10c86f1feb8eff.zip
opensim-SC-626940ceb83102a6aa0eebb81e10c86f1feb8eff.tar.gz
opensim-SC-626940ceb83102a6aa0eebb81e10c86f1feb8eff.tar.bz2
opensim-SC-626940ceb83102a6aa0eebb81e10c86f1feb8eff.tar.xz
More debug messages
Diffstat (limited to 'OpenSim/Services/UserAccountService')
-rw-r--r--OpenSim/Services/UserAccountService/GridUserService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/GridUserService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs
index 62b82fe..af2701d 100644
--- a/OpenSim/Services/UserAccountService/GridUserService.cs
+++ b/OpenSim/Services/UserAccountService/GridUserService.cs
@@ -46,7 +46,7 @@ namespace OpenSim.Services.UserAccountService
46 46
47 public GridUserService(IConfigSource config) : base(config) 47 public GridUserService(IConfigSource config) : base(config)
48 { 48 {
49 m_log.Debug("[USER GRID SERVICE]: Starting user grid service"); 49 m_log.Debug("[GRID USER SERVICE]: Starting user grid service");
50 } 50 }
51 51
52 public virtual GridUserInfo GetGridUserInfo(string userID) 52 public virtual GridUserInfo GetGridUserInfo(string userID)
@@ -58,13 +58,17 @@ namespace OpenSim.Services.UserAccountService
58 { 58 {
59 GridUserData[] ds = m_Database.GetAll(userID); 59 GridUserData[] ds = m_Database.GetAll(userID);
60 if (ds == null) 60 if (ds == null)
61 {
62 m_log.DebugFormat("[GRID USER SERVICE]: user not found {0}", userID);
61 return null; 63 return null;
64 }
62 if (ds.Length > 0) 65 if (ds.Length > 0)
63 { 66 {
64 d = ds[0]; 67 d = ds[0];
65 foreach (GridUserData dd in ds) 68 foreach (GridUserData dd in ds)
66 if (dd.UserID.Length > d.UserID.Length) // find the longest 69 if (dd.UserID.Length > d.UserID.Length) // find the longest
67 d = dd; 70 d = dd;
71 m_log.DebugFormat("[GRID USER SERVICE]: Found user {0}", d.UserID);
68 } 72 }
69 } 73 }
70 74