Skip to content

Commit 3bc77c4

Browse files
committed
Chore: 운영 환경 SQL 출력 비활성화
1 parent b935d66 commit 3bc77c4

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/main/resources/application-local.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ spring:
88
jpa:
99
hibernate:
1010
ddl-auto: create-drop
11+
properties:
12+
hibernate:
13+
show_sql: true
14+
format_sql: true
1115

1216
server:
1317
port: 8080

src/main/resources/application-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ spring:
99
hibernate:
1010
ddl-auto: validate
1111
database-platform: org.hibernate.dialect.MySQL8Dialect
12-
show-sql: true
12+
show-sql: false
1313
properties:
1414
hibernate:
15-
format_sql: true
16-
use_sql_comments: true
15+
format_sql: false
16+
use_sql_comments: false
1717

1818
server:
1919
port: 8080

src/main/resources/application.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ spring:
66
mongodb:
77
uri: ${MONGO_URI}
88

9-
jpa:
10-
properties:
11-
hibernate:
12-
show_sql: true
13-
format_sql: true
149

1510
mail:
1611
host: smtp.gmail.com

0 commit comments

Comments
 (0)