Skip to content

Commit 311e84e

Browse files
committed
fix: 캐시 log 삭제
1 parent 441cd27 commit 311e84e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/dfbf/soundlink/domain/emotionRecord/service/EmotionRecordCacheService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public EmotionRecordPageResponseDTO<EmotionRecordResponseMainDTO> getEmotionReco
5252
// 캐시에서 결과가 모두 존재 시, (모든 감정에 대해 캐시 값이 있다면)
5353
// 여러 감정 조건에 따른 결과(각각 캐싱해 둔 것)를 합쳐서 반환
5454
if (cachedResults != null && cachedResults.stream().allMatch(Objects::nonNull)) {
55-
log.info("캐시 hit: {}", keys);
56-
5755
List<EmotionRecordResponseMainDTO> emotionRecords = new ArrayList<>();
5856
for (Object cachedResult : cachedResults) {
5957
@SuppressWarnings("unchecked")
@@ -68,8 +66,6 @@ public EmotionRecordPageResponseDTO<EmotionRecordResponseMainDTO> getEmotionReco
6866
// 결합된 결과와 새로 계산한 페이징 정보를 이용해 최종 DTO 생성
6967
return new EmotionRecordPageResponseDTO<>(emotionRecords, page, totalPages, totalElements);
7068
}
71-
log.info("캐시 miss 또는 일부 캐시 없음 - keys: {}", keys);
72-
7369
// Fallback(캐싱 실패 시) 처리 : DB에서 전체 데이터를 조회
7470
EmotionRecordPageResponseDTO<EmotionRecordResponseMainDTO> dbResult = fetchFromDB(userId, emotionList, spotifyId, page, size);
7571

0 commit comments

Comments
 (0)