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/Region/CoreModules/Asset/FlotsamAssetCache.cs | |
parent | Remove zero length XML blob spam. (diff) | |
download | opensim-SC_OLD-641752fef71c0f8f895b54c1e97497bcd28cf74f.zip opensim-SC_OLD-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.gz opensim-SC_OLD-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.bz2 opensim-SC_OLD-641752fef71c0f8f895b54c1e97497bcd28cf74f.tar.xz |
Reduce various console spam.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 6 |
1 files changed, 4 insertions, 2 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 | ||