LOG4J (1) 썸네일형 리스트형 [Spring Boot] log4j2, hibernate 설정 gradle 설정 // 기본 로거와 충돌방지위해 exclude 설정 configurations { all { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' } } //dependencies 추가 implementation 'org.springframework.boot:spring-boot-starter-log4j2' resources/log4j2.xml 추가 log [%d{yyyy-MM-dd HH:mm:ss}] [%-5p] [%c{1}:%L] - %m%n %d [%t] %-5level %c(%M:%L) - %m%n application.properties 수정 (hibernate 설정) spring.jpa... 이전 1 다음