Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/arduino/Arduino.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Bertorello <m.bertorello@arduino.cc>2019-07-22 18:11:52 +0300
committerCristian Maglie <c.maglie@bug.st>2019-07-23 10:49:55 +0300
commitf0722843f6701b2441a0832997cb0470c19d4c2c (patch)
treee4636a22a4cca494526c9eeadc31c9a17b2a15be
parentdd1d713d192776b5c109545d5ae9dc180124fe4d (diff)
Add logging
-rw-r--r--arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java1
1 files changed, 1 insertions, 0 deletions
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<FileCached> fileCachedInfoUpdated =