일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- catalina log
- Spring Boot
- ubuntu
- datasource
- 라즈베리파이
- MySQL
- template
- ORACLE CLOUD
- Java
- hikaricp
- git
- intellij
- Gradle
- Spring
- Spring Security
- mybatis
- between date
- oracle between
- 배열스트링
- log4j profile
- between 날짜
- oracle
- springboot
- hikari
- STS
- python 개발환경
- Linux
- log4j2
- github
- bitbucket
Archives
- Today
- Total
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- catalina log
- Spring Boot
- ubuntu
- datasource
- 라즈베리파이
- MySQL
- template
- ORACLE CLOUD
- Java
- hikaricp
- git
- intellij
- Gradle
- Spring
- Spring Security
- mybatis
- between date
- oracle between
- 배열스트링
- log4j profile
- between 날짜
- oracle
- springboot
- hikari
- STS
- python 개발환경
- Linux
- log4j2
- github
- bitbucket
Archives
- Today
- Total
목록log설정 (1)
파워노트

mybatis 등을 이용하여 query 실행시 실행 쿼리 로그가 나오도록. build.gradle 의존성 추가 implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16' datasource 설정 변경 application.yml datasource 설정 부분 변경 필요 url: jdbc:oracle:thin:/xxxx/. => url: jdbc:log4jdbc:oracle:thin:/xxxx/ driver-class-name: oracle.jdbc.OracleDriver => driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy spring: datasource: url: jdbc:log4jd..
spring boot
2022. 1. 7. 19:53