感觉mybatis-lus打印的sql,
包含row信息,实在太多了。
干脆就只使用logback的输出来弄。
application.yml
下面 com.xx.xx.mapper 是你得mapper所在得包路径
logging:
pattern:
console: "%d - %msg%n"
file:
path: logs
level:
com.xxx.xxx.mapper: debug

感觉mybatis-lus打印的sql,
包含row信息,实在太多了。
干脆就只使用logback的输出来弄。
application.yml
下面 com.xx.xx.mapper 是你得mapper所在得包路径
logging:
pattern:
console: "%d - %msg%n"
file:
path: logs
level:
com.xxx.xxx.mapper: debug