Repository navigation
PB-120 MDC3: 스케줄러 MDC + 도메인 구조화 로그 - #232
Merged
Merged
Conversation
- logback-spring.xml에 schedulerName, jobId MDC 키 노출 (dev/prod) - OutboxSchedulingConfig, BeachConditionScheduler 스케줄러 실행 구간 MDC scope 적용 - NotificationService, OutboxPublisher, OutboxEventDispatcher 도메인 식별자 structured 로그 추가 - 로그 포맷/스케줄러 MDC 누수 방지 테스트 보강
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PHJ2000
reviewed
Jun 18, 2026
3 of 12 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
✨ Feature PR
🔗 이슈 링크
🧩 이 PR의 변경사항
이 PR에서 변경한 것
schedulerName,jobId짧은 MDC scope 적용 (OutboxSchedulingConfig,BeachConditionScheduler)notificationId,outboxEventId등)를StructuredArguments.kv로 기록 (NotificationService,OutboxPublisher,OutboxEventDispatcher)logback-spring.xmldev/prod 로그에schedulerName,jobId노출DtoLoggingCatalogTest,BeachConditionSchedulerTest, 신규OutboxSchedulingConfigTest)✅ AC (이 PR 범위만)
logback-spring.xmldev/prod 로그에schedulerName,jobId노출schedulerName/jobIdMDC 주입, 종료 후 누수 없음 (테스트 검증)NotificationService/OutboxEventDispatcher로그에 도메인 식별자가 structured field로 기록requestId/userId미주입,traceId/spanId직접 생성 안 함MdcScopehelper 미포함 (반복 패턴 2곳 이상 확인 시 후속 PR)🧪 테스트 결과
로컬
outbox.integration.*)는 Docker 필요로 본 변경 범위에서 미실행.🧭 영향 범위 체크
💬 리뷰 포인트
OutboxEventDispatcher: 성공/멱등스킵/영구실패/재시도 경로별 structured 로그 (중복 로깅 없는지)try (MDC.MDCCloseable ...)scope 종료 시 MDC 정리