From 0ed9b9f50082490f6f3f1a0a452849302451e708 Mon Sep 17 00:00:00 2001 From: Umjiseung <127853946+Umjiseung@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:12:20 +0900 Subject: [PATCH] =?UTF-8?q?add=20::=20Rank=20=EC=8A=A4=EC=BC=80=EC=A4=84?= =?UTF-8?q?=EB=9F=AC=20Logging=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v2/domain/rank/service/impl/DeleteRankServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/mindway/server/v2/domain/rank/service/impl/DeleteRankServiceImpl.java b/src/main/java/com/mindway/server/v2/domain/rank/service/impl/DeleteRankServiceImpl.java index 0f6c550..b500911 100644 --- a/src/main/java/com/mindway/server/v2/domain/rank/service/impl/DeleteRankServiceImpl.java +++ b/src/main/java/com/mindway/server/v2/domain/rank/service/impl/DeleteRankServiceImpl.java @@ -4,14 +4,18 @@ import com.mindway.server.v2.domain.rank.service.DeleteRankService; import com.mindway.server.v2.global.annotation.ServiceWithTransaction; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; @ServiceWithTransaction @RequiredArgsConstructor +@Slf4j public class DeleteRankServiceImpl implements DeleteRankService { private final RankRepository rankRepository; public void execute() { + log.info("===================랭킹 초기화 스케줄러 시작==================="); rankRepository.deleteAll(); + log.info("===================랭킹 초기화 스케줄러 시작==================="); } }