Skip to content
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

[Refactor] - 로깅 전략 개선 (MDC, 로깅 지점 검토) #527

Open
10 tasks
Libienz opened this issue Oct 11, 2024 · 0 comments
Open
10 tasks

[Refactor] - 로깅 전략 개선 (MDC, 로깅 지점 검토) #527

Libienz opened this issue Oct 11, 2024 · 0 comments
Assignees
Milestone

Comments

@Libienz
Copy link
Contributor

Libienz commented Oct 11, 2024

✅ TO-DO LIST

  • 전체적인 로깅 형식 포맷 통일
  • 로그 정보를 기록하는 기술(AOP, FIlter, Interceptor) 컨벤션 확립

민감정보들은 로깅시에 마스킹되도록 처리

  • Request Body 내용이 로깅될 때 민감 정보를 마스킹 한 후 로깅되도록 개선
  • Response Body 내용이 로깅될 때 민감 정보를 마스킹 한 후 로깅되도록 개선

외부 API 로깅

  • 서버 내부에서 외부 API 사용 결과 INFO level로 로깅
  • 외부 API 에러 발생 시 ERROR 레벨로 로깅

로깅 시인성 개선

  • MDC 로깅으로 개선
  • health checker api 로깅 수준 DEBUG로 강등

성능 취약 정보 로깅

  • 특정 서비스 기능이 기준 시간을 초과하여 실행되는 경우 WARN 로그 발생
  • 이미지 업로드 속도 성능 로깅

🙈 참고 사항

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants