Skip to content

Commit

Permalink
fix(be): aggiunti log per s3
Browse files Browse the repository at this point in the history
  • Loading branch information
carloalbertosimoncini committed Jul 26, 2022
1 parent 2f1bec5 commit 19a7497
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public S3Client getClient() {
}

public void uploadFile(@NotBlank final String nomeBucket, @NotNull final File fileToUpload) throws FileNotFoundException {
log.info("BUCKET NAME : {}", nomeBucket);
log.info("ACCESS KEY : {}", accessKey);
log.info("SECRET KEY : {}", secretKey);
final String fileToUploadName = fileToUpload.getName();
final PutObjectRequest putObjectRequest = PutObjectRequest.builder()
.bucket(nomeBucket)
Expand Down

0 comments on commit 19a7497

Please sign in to comment.