From 9b4252fee00e2d736e5699fc15705d835c69e2fa Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 24 Oct 2021 05:21:28 +0300 Subject: Make logs more silent --- src/main/java/com/juick/service/FileSystemStorageService.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main/java/com/juick/service') diff --git a/src/main/java/com/juick/service/FileSystemStorageService.java b/src/main/java/com/juick/service/FileSystemStorageService.java index 021e5a9f..f7420f84 100644 --- a/src/main/java/com/juick/service/FileSystemStorageService.java +++ b/src/main/java/com/juick/service/FileSystemStorageService.java @@ -246,12 +246,7 @@ public class FileSystemStorageService implements StorageService { } } } - } else { - logger.warn("File not exists yet: {}", imgFile.getAbsolutePath()); - return attachment; } - - logger.warn("Not a known image file {}", imgFile.getAbsolutePath()); return attachment; } -- cgit v1.2.3