Skip to content

Conversation

@yunjae62
Copy link
Owner

@yunjae62 yunjae62 commented Aug 4, 2025

개요

  • MDC 로그 필터와 logback-spring.xml을 추가하여 요청당 로그를 구분하고 파일로 저장하도록 함

작업사항

  • 필터의 최초 진입으로 MDC 필터를 두어 특정 요청에 대한 고유 id 부여
  • logback-spring.xml을 추가하여 로그 포맷 추가 및 로그 파일 롤링 정책 추가

세부사항

  • 일 단위로 로그 파일을 나누어 저장
  • 하루 내에도 로그 파일 당 최대 100MB로 나누어 저장
  • 30일이 초과되는 로그 파일은 삭제
  • 전체 로그 파일의 용량이 10GB가 넘어가면 오래된 파일부터 삭제

관련 이슈

@yunjae62 yunjae62 self-assigned this Aug 4, 2025
@yunjae62 yunjae62 added the enhancement New feature or request label Aug 4, 2025
@github-actions
Copy link

github-actions bot commented Aug 4, 2025

Test Results

1 tests   1 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 9de9720.

@yunjae62 yunjae62 merged commit 96dd06a into main Aug 4, 2025
2 checks passed
@yunjae62 yunjae62 deleted the feat/add-log branch August 4, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants