From c973f9493624d0619594d0602d5baad5f18cef00 Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 8 Jun 2015 03:17:12 +0200 Subject: [PATCH] add log entry on release file delete by ResourceObserver --- source/net/yacy/search/ResourceObserver.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/net/yacy/search/ResourceObserver.java b/source/net/yacy/search/ResourceObserver.java index 93c52659e..ea83c34c4 100644 --- a/source/net/yacy/search/ResourceObserver.java +++ b/source/net/yacy/search/ResourceObserver.java @@ -107,6 +107,7 @@ public class ResourceObserver { (this.normalizedDiskUsed == Space.EXHAUSTED && this.sb.getConfigBool(SwitchboardConstants.RESOURCE_DISK_USED_AUTOREGULATE, false))) { shrinkmethods: while (true /*this is not a loop, just a construct that we can leave with a break*/) { // delete old releases + log.warn("DISK SPACE EXHAUSTED - deleting downloaded releases files"); yacyRelease.deleteOldDownloads(sb.releasePath, 1); if (getNormalizedDiskFree() == Space.AMPLE && getNormalizedDiskUsed(false) == Space.AMPLE) break;