mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
downgrade log entry to info when case is closed
This commit is contained in:
parent
88a6163566
commit
9fe88f29d5
@ -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<Long, File> 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;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user