-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
불필요한 정보 로깅 제외 및 원활한 스웨거 테스트를 위한 설정 #519
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생 많았음👍👍 일단 이정도 반영만 해도 좋을것같아
public LoginResponse basicLogin() { | ||
Member member = memberRepository.findById(1L) | ||
.orElse(new Member()); | ||
return new LoginResponse(jwtProvider.createToken(member)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1번 아이디로 멤버를 조회하면 개발(배포) 서버에서는 기존 DB에 저장된 회원이 불러와질수도 있는데, 차라리 아무거나 저장을 하고 불러오는건 어떤지요..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 고렇게 하겠습니다 !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안나는 신이야,,
PR의 목적이 무엇인가요?
이슈 ID는 무엇인가요?
설명
로깅
기존 서버의 로깅의 문제점
두 가지 부분을 제외하였어요!
현재는 요렇게 로깅 됩니다.
스웨거 테스트를 위한 설정
질문 혹은 공유 사항 (Optional)