aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/FileSystemStorageService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-10-24 05:21:28 +0300
committerGravatar Vitaly Takmazov2021-10-24 05:21:28 +0300
commit9b4252fee00e2d736e5699fc15705d835c69e2fa (patch)
treea4a2cc20c21a3d82ff43b149eaed22d596acacd3 /src/main/java/com/juick/service/FileSystemStorageService.java
parent7c1bfc34aef6846b7b16a96f3d432f06c5081972 (diff)
Make logs more silent
Diffstat (limited to 'src/main/java/com/juick/service/FileSystemStorageService.java')
-rw-r--r--src/main/java/com/juick/service/FileSystemStorageService.java5
1 files changed, 0 insertions, 5 deletions
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;
}