-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 로깅 기능 구현 #244
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
Merged
Merged
feat: 로깅 기능 구현 #244
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1e9ab03
chore: CI/CD 수정 및 테스트 구조 구축
yongjun0511 f613207
feat: logback 세팅 및 Controller AOP 로깅 구현
yongjun0511 ae55113
feat: Dockerfile에 로그 디렉토리 생성
yongjun0511 07d60a8
feat: 로깅 구현 완료
yongjun0511 b93a7ae
fix: 로그 삭제
yongjun0511 82dbce3
fix: dev 오타 정정
yongjun0511 08a8c2f
fix: docker-compose 복사 조건 주석
yongjun0511 81c791b
refactor: docker compose 버전 변경
yongjun0511 b1ef828
refactor: 기존 배포 방식 유지 및 logback-spring.xml stdout 방식으로 콘솔 출력
yongjun0511 51dd849
feat: 테스트 완료
yongjun0511 412577b
fix: reqId값이 나오도록 수정
yongjun0511 8825414
fix: 민감 정보 관련 사항 수정
yongjun0511 fe945b7
chore: 임시 배포
yongjun0511 8b5ab25
chore: PR 마무리
yongjun0511 4cda70d
feat: 민감 정보 마스킹
yongjun0511 58aeebd
refactor: 로그 롤링 정책 추가
yongjun0511 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/main/java/ssu/eatssu/domain/auth/dto/AppleLoginRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
오 로그 쌓는거 너무 좋은데요! 근데 로그가 너무 많이 쌓이면 ec2자체가 터져버릴 수도 있는 상황도 생각해본다면! 혹시 cron으로 주기적으로 로그를 청소해보는건 어떨까 하는 생각을 해봤어요.! 근데 나중에 결정적일때 로그가 없어져버리는 상황도 생각해야겠네요 ㅋㅎㅋㅎ
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.
헛 이 부분은 로그를 출력하는 방식을 변경해서 함께 삭제를 해야하는데 반영을 못했네욥! 삭제하겠습니다!
로그 청소에 대해서 조금 알아봤는데요,
지금 처럼 따로 로그에 대한 설정을 하지 않는 경우 도커 데몬의 json-file 드라이버 의해 관리됩니다.
보통은 docker run을 할 때 롤링 정책을 설정할 수 있는 것 같아서 그 방법으로 용량을 관리해도 좋아 보입니다.
이 부분을 Docker Run에 추가해 두었습니다 !
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.
넵 좋아요!!