From c545cc8cd914d6ded605fa2a195461c7aaf3a615 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sun, 23 Dec 2007 02:14:29 +0000 Subject: Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems --- OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index 6a7be78..23bddcf 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs @@ -27,6 +27,7 @@ */ using System.Collections.Generic; using libsecondlife; +using OpenSim.Framework.Console; namespace OpenSim.Framework.Communications.Cache { @@ -61,12 +62,14 @@ namespace OpenSim.Framework.Communications.Cache if (userInfo.UserProfile != null) { - RequestInventoryForUser(userID, userInfo); + // The request itself will occur when the agent finishes logging on to the region + // so there's no need to do it here. + //RequestInventoryForUser(userID, userInfo); m_userProfiles.Add(userID, userInfo); } else { - System.Console.WriteLine("CACHE", "User profile for user not found"); + MainLog.Instance.Error("USERCACHE", "User profile for user {0} not found", userID); } } } -- cgit v1.1