Developer S.Developer S.
Blog

Tech

기술 블로그

MDX로 기록한 글과 작업 로그를 한 곳에 모아두는 공간입니다.

AllAIAPIAPI DesignArchitectureAuthenticationBackendBlogChecklistCI/CDCode QualityCollaborationConcurrencyDatabaseDeploymentDevOpsDocumentationEvent-DrivenException HandlingFrontendGitHub ActionsIndexJavaJPAJWTKafkaLoggingMDCMonitoringMulti-ModuleNext.jsNginxObservabilityOpenTelemetryOperationsPaginationPerformanceProductivityReactRedisRefactoringResponseREST APISentrySEOSpring BootSpring SecurityTestcontainersTestingTransactionTroubleshooting
Spring에서 traceId를 Filter와 Interceptor로 남기는 방법
2026년 3월 26일

Spring에서 traceId를 Filter와 Interceptor로 남기는 방법

운영 로그를 요청 단위로 묶어 보기 위해 traceId를 남길 때, Filter와 Interceptor 중 어디에 두는 게 좋은지와 MDC 정리 방법을 함께 적었습니다.

Spring BootLoggingMDC
1

Developer S.

© 2026. Developer S. All rights reserved.

개인정보처리방침

sruelife@gmail.com