From a026cab39c2ef9c23984ecd9215f2a17248b5e01 Mon Sep 17 00:00:00 2001 From: Gunnar Velle Date: Mon, 28 Oct 2024 13:54:12 +0100 Subject: [PATCH] Make slow-log to info level --- src/utils/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fetch.ts b/src/utils/fetch.ts index 246c2f4b..e2536798 100644 --- a/src/utils/fetch.ts +++ b/src/utils/fetch.ts @@ -39,7 +39,7 @@ export default function createFetch(options: { cache: IKeyValueCache; disableCac const response = await nodeFetch(url, requestInit); const elapsedTime = performance.now() - startTime; if (elapsedTime > slowLogTimeout) { - getLogger().warn( + getLogger().info( `Fetching '${url}' took ${elapsedTime.toFixed( 2, )}ms which is slower than slow log timeout of ${slowLogTimeout}ms`,