From f5e5dea481ce41660ab5b96a35f98f9422f38841 Mon Sep 17 00:00:00 2001 From: Seonghyeon0409 Date: Fri, 29 Nov 2024 12:12:25 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20redis=ED=81=B4=EB=A6=B0=EC=97=85?= =?UTF-8?q?=EC=84=9C=EB=B9=84=EC=8A=A4=20logger=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/server/src/schedule/trade-clean-up.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/schedule/trade-clean-up.service.ts b/packages/server/src/schedule/trade-clean-up.service.ts index f58a609c..4a58aa68 100644 --- a/packages/server/src/schedule/trade-clean-up.service.ts +++ b/packages/server/src/schedule/trade-clean-up.service.ts @@ -18,7 +18,7 @@ export class TradeCleanupService { const dbTradeIds = await this.tradeRepository.getAllTradeIds(); await this.redisRepository.cleanupOrphanTrades(dbTradeIds); } else { - console.log('Cron job skipped: NODE_ENV is not production'); + this.logger.log('Cron job skipped: NODE_ENV is not production'); } } }