logging2 Spring Boot(Kotlin) — ep.9 Logging & MDC(traceId) Setup Guide This post explains how to systematically configure Logging in a Spring Boot multi-module project,and how to apply request-level tracing using MDC (Mapped Diagnostic Context).In real-world environments, it is extremely important to quickly identify “which request caused an error.”By automatically including values like traceId, eventId, clientIp, userId in every log entry, log analysis becomes dra.. 2025. 11. 27. Spring Boot(Kotlin) — 9편. Logging + MDC(traceId) 설정 이번 글은 Spring Boot 멀티 모듈 기반 프로젝트에서 로깅(Logging)을 체계적으로 구성하고,MDC(Mapped Diagnostic Context)를 활용해 요청 단위 추적(traceId)을 적용하는 방법을 정리한 글입니다.실무 환경에서는 "어떤 요청에서 어떤 오류가 발생했는지"를 빠르게 확인하는 것이 매우 중요한데,이를 위해 traceId, eventId, clientIp, userId 등을 로그에 자동으로 포함시키면 분석이 매우 쉬워집니다. 📚Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(GlobalExceptionHandler)Swagger(OpenAPI) 설정Se.. 2025. 11. 27. 이전 1 다음