반응형
SMALL
Log4j2 스프링(spring)에서 SQL 쿼리 로그(Log) 찍기
"eclipse spring Console 창에서 SQL 쿼리 Log를 자세히 출력을 위한 설정" 1. pom.xml 의존성 추가 org.bgee.log4jdbc-log4j2 log4jdbc-log4j2-jdbc4 1.16 2. root-context.xml (또는 dataSource-context.xml) 설정 변경 기존 변경 driverCla
ninedc.tistory.com
제대로 보이지 않아서 log level을 모두 debug 로 변경하니 쿼리 로그가 찍힘
반응형
LIST
'Programming' 카테고리의 다른 글
JWT Fundamentals for Beginners (0) | 2023.03.24 |
---|---|
Tree data structure: Binary Search Tree (0) | 2023.03.22 |
What distinguishes MVC, MVP, MVVM, MVVM-C, and VIPER architecture patterns from each other? (0) | 2023.03.19 |
Designing large-scale systems usually require careful consideration of caching. Below are five caching strategies that are frequently utilized. (0) | 2023.03.19 |
w3school (0) | 2023.03.17 |