설정 및 로깅 레벨 조정

dev
Lim Jonguk 3 years ago
parent 073f353c14
commit 7a16c87bc2

@ -47,8 +47,9 @@ spring:
# enabled: true
# path: /h2-console
thymeleaf:
cache: false
# 미사용
# thymeleaf:
# cache: false
# ==================================================================================================================
# JPA logging lib setting

@ -31,6 +31,8 @@ spring:
# ==================================================================================================================
jpa:
database-platform: org.hibernate.dialect.H2Dialect
# hibernate sql log
show-sql: false
properties:
hibernate:
format_sql: true
@ -38,15 +40,14 @@ spring:
hbm2ddl:
# create / create-drop / update / validate / none
auto: create-drop
# hibernate sql log
#show-sql: false
h2:
console:
enabled: true
path: /h2-console
thymeleaf:
cache: false
# # 미사용
# thymeleaf:
# cache: false
# ==================================================================================================================
@ -58,7 +59,7 @@ decorator:
enable-logging: true
logging:
level:
root: debug
root: info
org:
hibernate:
# hibernate sql log 출력시 변수 바인딩

@ -10,7 +10,6 @@ spring:
mode: always
platform: h2
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:xitdb;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
@ -22,32 +21,33 @@ spring:
username: ${spring.datasource.username}
password: ${spring.datasource.password}
jpa:
database-platform: org.hibernate.dialect.H2Dialect
show-sql: false
properties:
hibernate:
format_sql: true
use_sql_comments: false
hbm2ddl:
auto: create-drop
# thymeleaf:
# cache: false
decorator:
datasource:
p6spy:
enable-logging: true
logging:
level:
root: info
org:
hibernate:
type: trace
springframework:
web:
filter: error
root: info
jpa:
database-platform: org.hibernate.dialect.H2Dialect
properties:
hibernate:
format_sql: true
use_sql_comments: false
hbm2ddl:
auto: create-drop
show-sql: false
thymeleaf:
cache: false
springdoc:
api-docs:

@ -136,20 +136,20 @@ springdoc:
enabled: false
# ==================================================================================================================
# view template engine setting
# view template engine setting - 미사용
# ==================================================================================================================
#JSP와 같이 사용시 뷰 구분을 위해 컨트롤러가 뷰 이름을 반환시 thymeleaf/ 로 시작하면 타임리프로 처리하도록 view-names 지정
thymeleaf:
check-template: true
# templates 디렉토리에 파일이 있는지 없는지 체크, 없으면 에러
check-template-location: true
encoding: UTF-8
mode: HTML
prefix: classpath:templates/
suffix: .html
# profiles 별로 분리
#cache: false
view-names: thymeleaf/*
# thymeleaf:
# check-template: true
# # templates 디렉토리에 파일이 있는지 없는지 체크, 없으면 에러
# check-template-location: true
# encoding: UTF-8
# mode: HTML
# prefix: classpath:templates/
# suffix: .html
# # profiles 별로 분리
# #cache: false
# view-names: thymeleaf/*
# devtools
devtools:

Loading…
Cancel
Save