File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
backend/src/main/resources Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ spring:
1717 connection-timeout : 30000
1818 max-lifetime : 1800000 # MySQL wait_timeout(기본 28800)보다 짧게
1919 jpa :
20+ show-sql : false
2021 open-in-view : false # 프로덕션 권장
2122 hibernate :
2223 ddl-auto : ${PROD_JPA_HIBERNATE_DDL_AUTO} # 운영 DB는 보통 validate (또는 none)
@@ -88,4 +89,12 @@ sentry:
8889 dsn : ${PROD_SENTRY_DSN}
8990 environment : " prod"
909191- send-default-pii : true
92+ send-default-pii : true
93+
94+ logging :
95+ level :
96+ org.hibernate.SQL : WARN # SQL 문 로그 줄이기
97+ org.hibernate.orm.jdbc.bind : OFF # 바인딩 파라미터 로그 끔(Hibernate 6)
98+ org.hibernate.type.descriptor.jdbc : OFF
99+ org.springframework.jdbc.core : ERROR # JdbcTemplate 디버그 억제
100+ com.zaxxer.hikari : INFO # 커넥션 풀 상태만 간결하게
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ spring:
6161 jdbc :
6262 initialize-schema : never
6363
64- jpa :
65- show-sql : true
66- hibernate :
67- ddl-auto : ${SPRING_JPA_HIBERNATE_DDL_AUTO}
64+ # jpa:
65+ # show-sql: true
66+ # hibernate:
67+ # ddl-auto: ${SPRING_JPA_HIBERNATE_DDL_AUTO}
6868
6969 properties :
7070 hibernate :
You can’t perform that action at this time.
0 commit comments