From 58513fab8f7357e85ecb6f5f99aa1aa74f40b732 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 27 Sep 2016 16:49:55 +0100 Subject: [PATCH] save oar: simplify confusing successefull assets saving message --- .../CoreModules/World/Archiver/AssetsRequest.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs index 895b55da98..1526b1c88f 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs @@ -285,10 +285,15 @@ namespace OpenSim.Region.CoreModules.World.Archiver if (m_foundAssetUuids.Count + m_notFoundAssetUuids.Count >= m_repliesRequired) { m_requestState = RequestState.Completed; - - m_log.DebugFormat( - "[ARCHIVER]: Successfully added {0} assets ({1} assets not found but these may be expected invalid references)", + if(m_notFoundAssetUuids.Count == 0) + m_log.DebugFormat( + "[ARCHIVER]: Successfully added {0} assets", + m_foundAssetUuids.Count); + else + m_log.DebugFormat( + "[ARCHIVER]: Successfully added {0} assets ({1} assets not found but these may be expected invalid references)", m_foundAssetUuids.Count, m_notFoundAssetUuids.Count); + // We want to stop using the asset cache thread asap // as we now need to do the work of producing the rest of the archive