diff --git a/src/main/java/com/fc/shimpyo_be/domain/member/controller/AuthRestController.java b/src/main/java/com/fc/shimpyo_be/domain/member/controller/AuthRestController.java index 07744978..d62db927 100644 --- a/src/main/java/com/fc/shimpyo_be/domain/member/controller/AuthRestController.java +++ b/src/main/java/com/fc/shimpyo_be/domain/member/controller/AuthRestController.java @@ -9,7 +9,6 @@ import com.fc.shimpyo_be.global.common.ResponseDto; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; @@ -17,7 +16,6 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -@Slf4j @RestController @RequiredArgsConstructor @RequestMapping("/api/auth") @@ -28,7 +26,6 @@ public class AuthRestController { @PostMapping("/signup") public ResponseEntity> signUp( @Valid @RequestBody SignUpRequestDto signUpRequestDto) { - log.debug("email: {}, name: {}", signUpRequestDto.getEmail(), signUpRequestDto.getName()); return ResponseEntity.status(HttpStatus.CREATED).body( ResponseDto.res(HttpStatus.CREATED, authService.signUp(signUpRequestDto), "성공적으로 회원가입 했습니다.")); @@ -37,7 +34,6 @@ public ResponseEntity> signUp( @PostMapping("/signin") public ResponseEntity> signIn( @Valid @RequestBody SignInRequestDto signInRequestDto) { - log.debug("email: {}", signInRequestDto.getEmail()); return ResponseEntity.status(HttpStatus.OK).body( ResponseDto.res(HttpStatus.OK, authService.signIn(signInRequestDto), "성공적으로 로그인 했습니다.")); @@ -46,8 +42,6 @@ public ResponseEntity> signIn( @PostMapping("/refresh") public ResponseEntity> refresh( @Valid @RequestBody RefreshRequestDto refreshRequestDto) { - log.debug("accessToken: {}, refreshToken: {}", refreshRequestDto.getAccessToken(), - refreshRequestDto.getRefreshToken()); return ResponseEntity.status(HttpStatus.OK).body( ResponseDto.res(HttpStatus.OK, authService.refresh(refreshRequestDto), "성공적으로 토큰을 재발급 했습니다.")); diff --git a/src/main/java/com/fc/shimpyo_be/domain/member/controller/MemberRestController.java b/src/main/java/com/fc/shimpyo_be/domain/member/controller/MemberRestController.java index 5393e4eb..629d2e16 100644 --- a/src/main/java/com/fc/shimpyo_be/domain/member/controller/MemberRestController.java +++ b/src/main/java/com/fc/shimpyo_be/domain/member/controller/MemberRestController.java @@ -7,7 +7,6 @@ import com.fc.shimpyo_be.global.common.ResponseDto; import com.fc.shimpyo_be.global.util.SecurityUtil; import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; @@ -17,7 +16,6 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -@Slf4j @RestController @RequiredArgsConstructor @RequestMapping("/api/members") @@ -28,7 +26,6 @@ public class MemberRestController { @GetMapping public ResponseEntity> getMember() { - log.debug("memberId: {}", securityUtil.getCurrentMemberId()); return ResponseEntity.status(HttpStatus.OK).body( ResponseDto.res(HttpStatus.OK, memberService.getMember(), "성공적으로 회원 정보를 조회했습니다.")); @@ -37,7 +34,6 @@ public ResponseEntity> getMember() { @PatchMapping public ResponseEntity> updateMember(@RequestBody UpdateMemberRequestDto updateMemberRequestDto) { - log.debug("memberId: {}", securityUtil.getCurrentMemberId()); return ResponseEntity.status(HttpStatus.OK).body( ResponseDto.res(HttpStatus.OK, memberService.updateMember(updateMemberRequestDto), "성공적으로 회원 정보를 수정했습니다.")); @@ -46,7 +42,6 @@ public ResponseEntity> updateMember(@RequestBody @PostMapping public ResponseEntity> checkPassword( @RequestBody CheckPasswordRequestDto checkPasswordRequestDto) { - log.debug("memberId: {}", securityUtil.getCurrentMemberId()); memberService.checkPassword(checkPasswordRequestDto); return ResponseEntity.status(HttpStatus.OK).body( ResponseDto.res(HttpStatus.OK, "비밀번호가 일치합니다."));