Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spring:
connection-timeout: 30000
max-lifetime: 1800000 # MySQL wait_timeout(๊ธฐ๋ณธ 28800)๋ณด๋‹ค ์งง๊ฒŒ
jpa:
show-sql: false
open-in-view: false # ํ”„๋กœ๋•์…˜ ๊ถŒ์žฅ
hibernate:
ddl-auto: ${PROD_JPA_HIBERNATE_DDL_AUTO} # ์šด์˜ DB๋Š” ๋ณดํ†ต validate (๋˜๋Š” none)
Expand Down Expand Up @@ -88,4 +89,12 @@ sentry:
dsn: ${PROD_SENTRY_DSN}
environment: "prod"
release: "[email protected]"
send-default-pii: true
send-default-pii: true

logging:
level:
org.hibernate.SQL: WARN # SQL ๋ฌธ ๋กœ๊ทธ ์ค„์ด๊ธฐ
org.hibernate.orm.jdbc.bind: OFF # ๋ฐ”์ธ๋”ฉ ํŒŒ๋ผ๋ฏธํ„ฐ ๋กœ๊ทธ ๋”(Hibernate 6)
org.hibernate.type.descriptor.jdbc: OFF
org.springframework.jdbc.core: ERROR # JdbcTemplate ๋””๋ฒ„๊ทธ ์–ต์ œ
com.zaxxer.hikari: INFO # ์ปค๋„ฅ์…˜ ํ’€ ์ƒํƒœ๋งŒ ๊ฐ„๊ฒฐํ•˜๊ฒŒ
8 changes: 4 additions & 4 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ spring:
jdbc:
initialize-schema: never

jpa:
show-sql: true
hibernate:
ddl-auto: ${SPRING_JPA_HIBERNATE_DDL_AUTO}
# jpa:
# show-sql: true
# hibernate:
# ddl-auto: ${SPRING_JPA_HIBERNATE_DDL_AUTO}

properties:
hibernate:
Expand Down