From 641752fef71c0f8f895b54c1e97497bcd28cf74f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 22 Nov 2016 16:59:06 +1000 Subject: Reduce various console spam. --- OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 6 ++++-- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 82c95c2..98032cb 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs @@ -565,6 +565,9 @@ namespace OpenSim.Region.CoreModules.Asset /// private void CleanExpiredFiles(string dir, DateTime purgeLine) { + // Yet another "directory we are trying to remove doesn't exist, so don't complain" idiocy fix. + if (!Directory.Exists(dir)) + return; try { foreach (string file in Directory.GetFiles(dir)) @@ -596,8 +599,7 @@ namespace OpenSim.Region.CoreModules.Asset } catch (Exception e) { - m_log.Warn( - string.Format("[FLOTSAM ASSET CACHE]: Could not complete clean of expired files in {0}, exception ", dir), e); + m_log.Warn(string.Format("[FLOTSAM ASSET CACHE]: Could not complete clean of expired files in {0}", dir), e); } } diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index b838177..e384632 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -1660,9 +1660,9 @@ namespace OpenSim.Region.Framework.Scenes if (item != null) { part.ParentGroup.AddInventoryItem(remoteClient.AgentId, primLocalID, item, copyID); - m_log.InfoFormat( - "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", - item.Name, primLocalID, remoteClient.Name); +//// m_log.InfoFormat( +//// "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", +//// item.Name, primLocalID, remoteClient.Name); part.SendPropertiesToClient(remoteClient); if (!Permissions.BypassPermissions()) { -- cgit v1.1