diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs index bc6a97d..3092fe0 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs | |||
@@ -46,13 +46,13 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
46 | /// <value> | 46 | /// <value> |
47 | /// Post a message to the log every x assets as a progress bar | 47 | /// Post a message to the log every x assets as a progress bar |
48 | /// </value> | 48 | /// </value> |
49 | protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 50; | 49 | protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 100; |
50 | 50 | ||
51 | /// <value> | 51 | /// <value> |
52 | /// Keep a count of the number of assets written so that we can provide status updates | 52 | /// Keep a count of the number of assets written so that we can provide status updates |
53 | /// </value> | 53 | /// </value> |
54 | protected int m_assetsWritten; | 54 | protected int m_assetsWritten; |
55 | 55 | ||
56 | protected TarArchiveWriter m_archiveWriter; | 56 | protected TarArchiveWriter m_archiveWriter; |
57 | 57 | ||
58 | public AssetsArchiver(TarArchiveWriter archiveWriter) | 58 | public AssetsArchiver(TarArchiveWriter archiveWriter) |
@@ -143,6 +143,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
143 | asset.Data); | 143 | asset.Data); |
144 | 144 | ||
145 | m_assetsWritten++; | 145 | m_assetsWritten++; |
146 | |||
147 | //m_log.DebugFormat("[ARCHIVER]: Added asset {0}", m_assetsWritten); | ||
148 | |||
149 | if (m_assetsWritten % LOG_ASSET_LOAD_NOTIFICATION_INTERVAL == 0) | ||
150 | m_log.InfoFormat("[ARCHIVER]: Added {0} assets to archive", m_assetsWritten); | ||
146 | } | 151 | } |
147 | 152 | ||
148 | } | 153 | } |