From 8b513beefac4a56caba66fd10d3d0b2bc601cd16 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 16 Feb 2009 16:22:52 +0000 Subject: * minor: print out status messages at start and end of inventory archive loading and saving --- .../Avatar/Inventory/Archiver/InventoryArchiverModule.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs index 7660546..786cbeb 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs @@ -160,7 +160,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver string invPath = cmdparams[4]; 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); + + m_log.InfoFormat( + "[INVENTORY ARCHIVER]: Loaded archive {0} for {1} {2}", + loadPath, firstName, lastName); } /// @@ -181,7 +189,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver string invPath = cmdparams[4]; 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); + + m_log.InfoFormat( + "[INVENTORY ARCHIVER]: Saved archive {0} for {1} {2}", + savePath, firstName, lastName); } /// -- cgit v1.1