diff options
author | David Walter Seikel | 2016-11-22 16:59:06 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-22 16:59:06 +1000 |
commit | 641752fef71c0f8f895b54c1e97497bcd28cf74f (patch) | |
tree | dd2fc5ed75dca935be92ad867749d43cdf9fd3d6 /OpenSim | |
parent | Remove zero length XML blob spam. (diff) | |
download | opensim-SC-641752fef71c0f8f895b54c1e97497bcd28cf74f.zip opensim-SC-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.gz opensim-SC-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.bz2 opensim-SC-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.xz |
Reduce various console spam.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 6 | ||||
-rw-r--r-- | 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 | |||
565 | /// <param name="purgeLine"></param> | 565 | /// <param name="purgeLine"></param> |
566 | private void CleanExpiredFiles(string dir, DateTime purgeLine) | 566 | private void CleanExpiredFiles(string dir, DateTime purgeLine) |
567 | { | 567 | { |
568 | // Yet another "directory we are trying to remove doesn't exist, so don't complain" idiocy fix. | ||
569 | if (!Directory.Exists(dir)) | ||
570 | return; | ||
568 | try | 571 | try |
569 | { | 572 | { |
570 | foreach (string file in Directory.GetFiles(dir)) | 573 | foreach (string file in Directory.GetFiles(dir)) |
@@ -596,8 +599,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
596 | } | 599 | } |
597 | catch (Exception e) | 600 | catch (Exception e) |
598 | { | 601 | { |
599 | m_log.Warn( | 602 | m_log.Warn(string.Format("[FLOTSAM ASSET CACHE]: Could not complete clean of expired files in {0}", dir), e); |
600 | string.Format("[FLOTSAM ASSET CACHE]: Could not complete clean of expired files in {0}, exception ", dir), e); | ||
601 | } | 603 | } |
602 | } | 604 | } |
603 | 605 | ||
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 | |||
1660 | if (item != null) | 1660 | if (item != null) |
1661 | { | 1661 | { |
1662 | part.ParentGroup.AddInventoryItem(remoteClient.AgentId, primLocalID, item, copyID); | 1662 | part.ParentGroup.AddInventoryItem(remoteClient.AgentId, primLocalID, item, copyID); |
1663 | m_log.InfoFormat( | 1663 | //// m_log.InfoFormat( |
1664 | "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", | 1664 | //// "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", |
1665 | item.Name, primLocalID, remoteClient.Name); | 1665 | //// item.Name, primLocalID, remoteClient.Name); |
1666 | part.SendPropertiesToClient(remoteClient); | 1666 | part.SendPropertiesToClient(remoteClient); |
1667 | if (!Permissions.BypassPermissions()) | 1667 | if (!Permissions.BypassPermissions()) |
1668 | { | 1668 | { |