Lovelcp / spring-boot-mybatis-with-redis

spring-boot + mybatis + redis as second level cache
194 stars 112 forks source link

如果想打印sql语句,怎么做 #1

Closed hbbliyong closed 7 years ago

hbbliyong commented 7 years ago

如题

在配置application里面怎么去配置这个啊?或者使用logbak怎么 配置

Lovelcp commented 7 years ago

在application.yml里面添加

logging:
  level:
    com.wooyoo.learning.dao.mapper: TRACE