springboot+p6spy+oracle使用

1pom

p6spy p6spy 3.7.0

2.自定义输出格式P6SpyLogger

3.配置spy.properties

4.修改yaml中,url中增加了p6spy

datasource:      
      jdbc-url: jdbc:p6spy:oracle:thin:@host:1521:instance     
      driver-class-name: com.p6spy.engine.spy.P6SpyDriver

你可能感兴趣的:(springboot+p6spy+oracle使用)