From 3c72b16583e70d41d36463fea8cb9ff0268fb37a Mon Sep 17 00:00:00 2001 From: YugyeomGhim Date: Fri, 15 Nov 2024 15:42:07 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20=EB=A0=88=EC=BD=94=EB=94=A9ID=20?= =?UTF-8?q?=EB=A1=9C=EA=B9=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notai/pageRecording/application/PageRecordingService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/notai/pageRecording/application/PageRecordingService.java b/src/main/java/notai/pageRecording/application/PageRecordingService.java index e296c77..d790fd0 100644 --- a/src/main/java/notai/pageRecording/application/PageRecordingService.java +++ b/src/main/java/notai/pageRecording/application/PageRecordingService.java @@ -1,6 +1,7 @@ package notai.pageRecording.application; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import notai.document.domain.Document; import notai.document.domain.DocumentRepository; import notai.member.domain.Member; @@ -13,6 +14,7 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; +@Slf4j @Service @Transactional @RequiredArgsConstructor @@ -24,6 +26,8 @@ public class PageRecordingService { private final MemberRepository memberRepository; public void savePageRecording(Long memberId, PageRecordingSaveCommand command) { + log.info("recordingId: {}, documentId: {}", command.recordingId(), command.documentId()); + Recording foundRecording = recordingRepository.getById(command.recordingId()); Document foundDocument = documentRepository.getById(command.documentId()); Member member = memberRepository.getById(memberId);