* minor: print out status messages at start and end of inventory archive loading and saving

0.6.3-post-fixes
Justin Clarke Casey 2009-02-16 16:22:52 +00:00
parent f4bec00057
commit 8b513beefa
1 changed files with 16 additions and 0 deletions

View File

@ -160,7 +160,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
string invPath = cmdparams[4]; string invPath = cmdparams[4];
string loadPath = (cmdparams.Length > 5 ? cmdparams[5] : DEFAULT_INV_BACKUP_FILENAME); string loadPath = (cmdparams.Length > 5 ? cmdparams[5] : DEFAULT_INV_BACKUP_FILENAME);
m_log.InfoFormat(
"[INVENTORY ARCHIVER]: Loading archive {0} to inventory path {1} for {2} {3}",
loadPath, invPath, firstName, lastName);
DearchiveInventory(firstName, lastName, invPath, loadPath); DearchiveInventory(firstName, lastName, invPath, loadPath);
m_log.InfoFormat(
"[INVENTORY ARCHIVER]: Loaded archive {0} for {1} {2}",
loadPath, firstName, lastName);
} }
/// <summary> /// <summary>
@ -181,7 +189,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
string invPath = cmdparams[4]; string invPath = cmdparams[4];
string savePath = (cmdparams.Length > 5 ? cmdparams[5] : DEFAULT_INV_BACKUP_FILENAME); string savePath = (cmdparams.Length > 5 ? cmdparams[5] : DEFAULT_INV_BACKUP_FILENAME);
m_log.InfoFormat(
"[INVENTORY ARCHIVER]: Saving archive {0} from inventory path {1} for {2} {3}",
savePath, invPath, firstName, lastName);
ArchiveInventory(firstName, lastName, invPath, savePath); ArchiveInventory(firstName, lastName, invPath, savePath);
m_log.InfoFormat(
"[INVENTORY ARCHIVER]: Saved archive {0} for {1} {2}",
savePath, firstName, lastName);
} }
/// <summary> /// <summary>