From 4b3aabbf2b78e93fb61bf6def93ce1f8bc2c7f57 Mon Sep 17 00:00:00 2001 From: Matthew Etre Date: Tue, 13 Oct 2026 17:21:22 +0100 Subject: [PATCH] Default logs to info so identical OpenSea relistings stay quiet. Co-authored-by: Cursor --- src/Classes/APIBots/OpenSeaListBot.ts | 2 +- src/Utils/logger.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Classes/APIBots/OpenSeaListBot.ts b/src/Classes/APIBots/OpenSeaListBot.ts index c4cae3bd..f0497b33 100644 --- a/src/Classes/APIBots/OpenSeaListBot.ts +++ b/src/Classes/APIBots/OpenSeaListBot.ts @@ -91,7 +91,7 @@ export class OpenSeaListBot { Math.abs(this.recentListings[tokenId].price - price) <= IDENTICAL_TOLERANCE ) { - logger.info({ tokenId }, 'Skipping identical OpenSea relisting') + logger.debug({ tokenId }, 'Skipping identical OpenSea relisting') return } this.recentListings[tokenId] = { price, timestamp: Date.now() } diff --git a/src/Utils/logger.ts b/src/Utils/logger.ts index 49d23912..8c94bb88 100644 --- a/src/Utils/logger.ts +++ b/src/Utils/logger.ts @@ -17,7 +17,7 @@ export const Logger = ({ /** If this is local development (pretty print the logs, etc) */ devMode?: boolean /** - * The log level to show. Defaults to "debug" + * The log level to show. Defaults to "info" * * process.env.LOG_LEVEL will overwrite this value */ @@ -35,7 +35,7 @@ export const Logger = ({ // setup logging options const options: pino.LoggerOptions = { - level: process.env.LOG_LEVEL || 'debug', + level: process.env.LOG_LEVEL || 'info', base: baseLogOptions, transport: devMode ? {