* minor: spit out creator name on save iar

* not yet ready for use
0.6.5-rc1
Justin Clarke Casey 2009-03-25 19:14:36 +00:00
parent 09d2c6fe5d
commit 19595a2825
2 changed files with 16 additions and 4 deletions

View File

@ -423,7 +423,7 @@ namespace OpenSim
IAssetCache assetCache = null;
if (m_configSettings.AssetCache != null && m_configSettings.AssetCache != String.Empty)
{
m_log.DebugFormat("[OPENSIMBASE] Attempting to load asset cache id={0}", m_configSettings.AssetCache);
m_log.DebugFormat("[OPENSIMBASE]: Attempting to load asset cache id = {0}", m_configSettings.AssetCache);
try
{
PluginInitialiserBase init = new AssetCachePluginInitialiser(m_configSettings, assetServer);
@ -436,7 +436,7 @@ namespace OpenSim
}
catch (Exception e)
{
m_log.Debug("[OPENSIMBASE] ResolveAssetCache completed");
m_log.Debug("[OPENSIMBASE]: ResolveAssetCache completed");
m_log.Debug(e);
}
}
@ -449,12 +449,12 @@ namespace OpenSim
{
if (LoginEnabled)
{
m_log.Info("[Login] Login are now enabled ");
m_log.Info("[Login]: Login is now enabled ");
m_commsManager.GridService.RegionLoginsEnabled = true;
}
else
{
m_log.Info("[Login] Login are now disabled ");
m_log.Info("[Login]: Login is now disabled ");
m_commsManager.GridService.RegionLoginsEnabled = false;
}
}

View File

@ -175,6 +175,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
m_archive.WriteFile(filename, sw.ToString());
// Record the creator of this item
CachedUserInfo creator
= m_module.CommsManager.UserProfileCacheService.GetUserDetails(inventoryItem.Creator);
if (creator != null)
m_log.DebugFormat(
"[INVENTORY ARCHIVER]: Got creator {0} {1}", creator.UserProfile.Name, creator.UserProfile.ID);
else
m_log.WarnFormat(
"[INVENTORY ARCHIVER]: Failed to get creator profile for {0} {1}",
inventoryItem.Name, inventoryItem.ID);
m_assetGatherer.GatherAssetUuids(inventoryItem.AssetID, (AssetType)inventoryItem.AssetType, assetUuids);
}