[TRACE ID 관리] TraceIdFilter 및 TraceIdUtils 클래스를 추가하여 HTTP 요청에 TRACE ID를 생성하고 관리하는 기능을 구현하였으며, HttpLoggingFilter에서 TRACE ID를 로깅하도록 개선하였습니다. application.properties에서 Hibernate SQL 하이라이트 설정을 변경하고, logback-spring.xml에서 로그 패턴에 TRACE ID를 포함하도록 수정하였습니다.

This commit is contained in:
2025-09-01 16:12:48 +09:00
parent e1283792c3
commit 35cf8203ba
5 changed files with 95 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ spring.jpa.hibernate.ddl-auto=none
spring.jpa.open-in-view=false
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.highlight_sql=true
spring.jpa.properties.hibernate.highlight_sql=false
spring.jpa.properties.hibernate.use_sql_comments=false
# 배치 처리 설정