diff --git a/src/main/java/com/beat/global/auth/jwt/application/TokenService.java b/src/main/java/com/beat/global/auth/jwt/application/TokenService.java index 6097bfeb..145c9246 100644 --- a/src/main/java/com/beat/global/auth/jwt/application/TokenService.java +++ b/src/main/java/com/beat/global/auth/jwt/application/TokenService.java @@ -6,8 +6,10 @@ import com.beat.global.common.exception.NotFoundException; import jakarta.transaction.Transactional; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; +@Slf4j @RequiredArgsConstructor @Service public class TokenService { @@ -36,5 +38,6 @@ public void deleteRefreshToken(final Long memberId) { () -> new NotFoundException(TokenErrorCode.REFRESH_TOKEN_NOT_FOUND) ); tokenRepository.delete(token); + log.info("Deleted refresh token: {}", token); } } \ No newline at end of file