From 9fe88f29d55357bf0b10f96c14470cd27125c99e Mon Sep 17 00:00:00 2001 From: millmanorama Date: Wed, 5 Sep 2018 13:17:48 +0200 Subject: [PATCH] downgrade log entry to info when case is closed --- Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java b/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java index e856b25418..ec38bb7dbe 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java @@ -107,7 +107,7 @@ public class ImageUtils { * NOTE: Must be cleared when the case is changed. */ @Messages({"ImageUtils.ffmpegLoadedError.title=OpenCV FFMpeg", - "ImageUtils.ffmpegLoadedError.msg=OpenCV FFMpeg library failed to load, see log for more details"}) + "ImageUtils.ffmpegLoadedError.msg=OpenCV FFMpeg library failed to load, see log for more details"}) private static final ConcurrentHashMap cacheFileMap = new ConcurrentHashMap<>(); static { @@ -206,7 +206,7 @@ public class ImageUtils { AbstractFile file = (AbstractFile) content; return VideoUtils.isVideoThumbnailSupported(file) - || isImageThumbnailSupported(file); + || isImageThumbnailSupported(file); } /** @@ -388,7 +388,7 @@ public class ImageUtils { String cacheDirectory = Case.getCurrentCaseThrows().getCacheDirectory(); return Paths.get(cacheDirectory, "thumbnails", fileID + ".png").toFile(); //NON-NLS } catch (NoCurrentCaseException e) { - LOGGER.log(Level.WARNING, "Could not get cached thumbnail location. No case is open."); //NON-NLS + LOGGER.log(Level.INFO, "Could not get cached thumbnail location. No case is open."); //NON-NLS return null; } });