Skip to content

Commit deb801e

Browse files
committed
[Chore] Enable SQL highlighting and set JDBC template logging in application-prod.yml
1 parent 5ac3caf commit deb801e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/main/resources/application-prod.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spring:
2424
jakarta.persistence.query.timeout: 2000
2525
hibernate.query.timeout: 2000
2626
hibernate:
27+
highlight_sql: true
2728
default_schema: root # 기본 스키마
2829
jdbc:
2930
batch_size: 1000 # 배치 insert/update 사이즈
@@ -80,6 +81,8 @@ logging:
8081
org:
8182
springframework:
8283
web: ERROR
84+
org.springframework.jdbc.core.JdbcTemplate: DEBUG
85+
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate: DEBUG
8386

8487
# 보류
8588
oauth2:
@@ -174,6 +177,4 @@ management:
174177
server:
175178
request:
176179
autotime:
177-
enabled: true # 👈 status 라벨 포함된 http_server_requests 메트릭 활성화
178-
179-
180+
enabled: true # 👈 status 라벨 포함된 http_server_requests 메트릭 활성화

0 commit comments

Comments
 (0)