diff options
author | Diva Canto | 2011-01-08 16:17:00 -0800 |
---|---|---|
committer | Diva Canto | 2011-01-08 16:17:00 -0800 |
commit | 35a2961ccd1407153f9040e03f4a49b0e615e29f (patch) | |
tree | 13281bbd0e4c2761410c4d6d5727afa4c8ff05c0 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-35a2961ccd1407153f9040e03f4a49b0e615e29f.zip opensim-SC_OLD-35a2961ccd1407153f9040e03f4a49b0e615e29f.tar.gz opensim-SC_OLD-35a2961ccd1407153f9040e03f4a49b0e615e29f.tar.bz2 opensim-SC_OLD-35a2961ccd1407153f9040e03f4a49b0e615e29f.tar.xz |
Added a -v|verbose option to save iar.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs index 5e5f6c0..dc4900f 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |||
@@ -139,6 +139,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
139 | 139 | ||
140 | protected void SaveInvItem(InventoryItemBase inventoryItem, string path, Dictionary<string, object> options, IUserAccountService userAccountService) | 140 | protected void SaveInvItem(InventoryItemBase inventoryItem, string path, Dictionary<string, object> options, IUserAccountService userAccountService) |
141 | { | 141 | { |
142 | if (options.ContainsKey("verbose")) | ||
143 | m_log.InfoFormat("[INVENTORY ARCHIVER]: Saving item {0} with asset {1}", inventoryItem.ID, inventoryItem.AssetID); | ||
144 | |||
142 | string filename = path + CreateArchiveItemName(inventoryItem); | 145 | string filename = path + CreateArchiveItemName(inventoryItem); |
143 | 146 | ||
144 | // Record the creator of this item for user record purposes (which might go away soon) | 147 | // Record the creator of this item for user record purposes (which might go away soon) |
@@ -162,6 +165,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
162 | InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself, | 165 | InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself, |
163 | Dictionary<string, object> options, IUserAccountService userAccountService) | 166 | Dictionary<string, object> options, IUserAccountService userAccountService) |
164 | { | 167 | { |
168 | if (options.ContainsKey("verbose")) | ||
169 | m_log.InfoFormat("[INVENTORY ARCHIVER]: Saving folder {0}", inventoryFolder.Name); | ||
170 | |||
165 | if (saveThisFolderItself) | 171 | if (saveThisFolderItself) |
166 | { | 172 | { |
167 | path += CreateArchiveFolderName(inventoryFolder); | 173 | path += CreateArchiveFolderName(inventoryFolder); |