From f0722843f6701b2441a0832997cb0470c19d4c2c Mon Sep 17 00:00:00 2001 From: Mattia Bertorello Date: Mon, 22 Jul 2019 17:11:52 +0200 Subject: [PATCH] Add logging --- .../src/cc/arduino/utils/network/FileDownloaderCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java b/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java index 903f4ad24..766e70859 100644 --- a/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java +++ b/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java @@ -146,6 +146,7 @@ public class FileDownloaderCache { .orElseGet(() -> new FileCached(remoteURL.toString(), cacheFilePath.toString())); // If the file is change of the cache is disable run the HEAD request to check if the file is changed + log.info("Get file cached is expire {}, exist {}, info {} ", fileCached.isExpire(), fileCached.exists(), fileCached); if (fileCached.isExpire() || !fileCached.exists()) { // Update remote etag and cache control header final Optional fileCachedInfoUpdated =