From 5bc9a614c05eaded2256984889da505322ea7107 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Tue, 28 Jan 2025 12:38:59 +0000 Subject: [PATCH] Change log level of S3 missing keys message --- Changelog | 1 + src/S3.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 94e2cc03..042f69bf 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ Unreleased: * FIX: Ensure AWS SDK has access to object size when issuing an upload (@benoit #2117) +* FIX: Change log level of S3 missing keys message (@benoit #2144) 1.14.0: * FIX: Remove S3 upload concurrency to avoid 'RequestTimeTooSkewed' errors (@benoi74 #2118) diff --git a/src/S3.ts b/src/S3.ts index edc43779..f5adc318 100644 --- a/src/S3.ts +++ b/src/S3.ts @@ -104,7 +104,7 @@ class S3 { .catch((err: any) => { // For 404 error handle AWS service-specific exception if (err && err.name === 'NoSuchKey') { - logger.log(`The specified key '${key}' does not exist in the cache.`) + logger.info(`The specified key '${key}' does not exist in the cache.`) resolve(null) } else { logger.error(`Error (${err}) while downloading the object '${key}' from the cache.`)