From 6581631d5eb2bc3ee65b3eda51e000b20e818366 Mon Sep 17 00:00:00 2001 From: bludnic Date: Tue, 21 May 2024 08:11:45 +0100 Subject: [PATCH] refactor(processing): logger info -> debug --- .../order-synchronizer/order-synchronizer-polling.watcher.ts | 2 +- .../src/exchange-account/exchange-account.processor.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bot/src/processing/order-synchronizer/order-synchronizer-polling.watcher.ts b/packages/bot/src/processing/order-synchronizer/order-synchronizer-polling.watcher.ts index 5725a53c..4f1b8bbb 100644 --- a/packages/bot/src/processing/order-synchronizer/order-synchronizer-polling.watcher.ts +++ b/packages/bot/src/processing/order-synchronizer/order-synchronizer-polling.watcher.ts @@ -23,7 +23,7 @@ export class OrderSynchronizerPollingWatcher extends OrderSynchronizerWatcher { } private async syncOrders() { - logger.info( + logger.debug( `PollingWatcher: Start syncing order statuses of "${this.exchange.name}"`, ); const processor = new ExchangeAccountProcessor(this.exchange); diff --git a/packages/processing/src/exchange-account/exchange-account.processor.ts b/packages/processing/src/exchange-account/exchange-account.processor.ts index 413437b9..e5aa3524 100644 --- a/packages/processing/src/exchange-account/exchange-account.processor.ts +++ b/packages/processing/src/exchange-account/exchange-account.processor.ts @@ -57,7 +57,7 @@ export class ExchangeAccountProcessor { }); if (orders.length === 0) { - logger.info("ExchangeAccountProcessor: No orders in DB to synchronize"); + logger.debug("ExchangeAccountProcessor: No orders in DB to synchronize"); return { affectedBotsIds, };