config: hibernate sql log 출력 제거

-> p6spy 로그만 활성
main
Jonguk. Lim 4 months ago
parent a51d7f21f5
commit ef48eb5833

@ -14,19 +14,19 @@ server:
spring: spring:
profiles: profiles:
# active: local # active: local
active: '@spring.profiles.active@' active: '@spring.profiles.active@'
# include: # include:
# prodDB # prodDB
# group: # group:
# local: # local:
# - localDB # - localDB
# prod: # prod:
# - prodDB # - prodDB
config: config:
import: classpath:config/conf-app.yml, classpath:config/conf-contract.yml, classpath:config/conf-log.yml, classpath:config/conf-mybatis.yml, classpath:config/conf-policy.yml, classpath:config/conf-slack.yml import: classpath:config/conf-app.yml, classpath:config/conf-contract.yml, classpath:config/conf-log.yml, classpath:config/conf-mybatis.yml, classpath:config/conf-policy.yml, classpath:config/conf-slack.yml
# main: # main:
# allow-bean-definition-overriding: true # allow-bean-definition-overriding: true
pid: pid:
file: mdpost.pid file: mdpost.pid
@ -49,7 +49,7 @@ spring:
connection-test-query: SELECT 1 connection-test-query: SELECT 1
minimum-idle: 10 minimum-idle: 10
maximum-pool-size: 50 maximum-pool-size: 50
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED # transaction-isolation: TRANSACTION_READ_UNCOMMITTED
transaction-isolation: TRANSACTION_READ_COMMITTED transaction-isolation: TRANSACTION_READ_COMMITTED
pool-name: pool-xitworld pool-name: pool-xitworld
data-source-properties: data-source-properties:
@ -58,23 +58,23 @@ spring:
jpa: jpa:
database-platform: org.hibernate.dialect.MariaDB103Dialect database-platform: org.hibernate.dialect.MariaDB103Dialect
show-sql: true # show-sql: true
# generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행 # generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행
hibernate: hibernate:
ddl-auto: none ddl-auto: none
naming: naming:
# implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy # implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
properties: properties:
hibernate: hibernate:
format_sql: true # format_sql: true
use_sql_comments: true # use_sql_comments: true
order_inserts: true order_inserts: true
order_updates: true order_updates: true
jdbc: jdbc:
batch_size: 200 batch_size: 200
# default_batch_fetch_size: ${chunkSize:100} # default_batch_fetch_size: ${chunkSize:100}
# dialect: org.hibernate.dialect.MySQL57InnoDBDialect # dialect: org.hibernate.dialect.MySQL57InnoDBDialect
cache: cache:
@ -82,11 +82,11 @@ spring:
redis: redis:
host: ${server.host:localhost} host: ${server.host:localhost}
port: 16379 port: 16379
# password: # password:
# database: # database:
# timeout: # timeout:
# sentinel: # sentinel:
# master: # master:
data: data:
redis: redis:
repositories: repositories:

Loading…
Cancel
Save