From 88b3002a2d413733e2457761f7303d0864df42a2 Mon Sep 17 00:00:00 2001 From: Alec Gard Date: Fri, 29 Nov 2024 11:03:40 +0000 Subject: [PATCH] Synthetix: Downgrade noisy log from Warn to Debug (#3594) --- .changeset/silly-boxes-move.md | 5 +++++ packages/sources/synthetix-feeds/src/transport/util.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/silly-boxes-move.md diff --git a/.changeset/silly-boxes-move.md b/.changeset/silly-boxes-move.md new file mode 100644 index 0000000000..3041277ba5 --- /dev/null +++ b/.changeset/silly-boxes-move.md @@ -0,0 +1,5 @@ +--- +'@chainlink/synthetix-feeds-adapter': patch +--- + +Downgrade log from Warn to Debug diff --git a/packages/sources/synthetix-feeds/src/transport/util.ts b/packages/sources/synthetix-feeds/src/transport/util.ts index 467699beac..5819d0984d 100644 --- a/packages/sources/synthetix-feeds/src/transport/util.ts +++ b/packages/sources/synthetix-feeds/src/transport/util.ts @@ -44,7 +44,7 @@ const getUSDeToUSD = async ( const resultDecimal = new Decimal(utils.formatUnits(result, decimals).toString()) if (resultDecimal > new Decimal(1)) { - logger.warn(`USDe/USD price ${resultDecimal} is over $1, capping to $1`) + logger.debug(`USDe/USD price ${resultDecimal} is over $1, capping to $1`) return new Decimal(1) } else { return resultDecimal